[MacPorts] #55748: rsgislib @2.1.20140825_3: build failure, update problems with Boost (was: rsgislib +python27 2.1.20140825_3: build failure, update problems with Boost)

MacPorts noreply at macports.org
Thu Jan 25 09:04:37 UTC 2018


#55748: rsgislib @2.1.20140825_3: build failure, update problems with Boost
-----------------------+----------------------
  Reporter:  ForTozs   |      Owner:  Veence
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.2
Resolution:            |   Keywords:  haspatch
      Port:  rsgislib  |
-----------------------+----------------------
Changes (by ryandesign):

 * cc: Veence (removed)
 * cc: ryandesign (added)
 * status:  new => assigned
 * owner:   => Veence
 * keywords:   => haspatch


Comment:

 Here's a patch that worked for me.

 The patch does many things:

 * Update to 3.4.9.
 * Switch from cmake-1.0 to cmake-1.1 portgroup because all ports should do
 so.
 * Add GitHub handle to maintainers line because all maintained ports
 should have that.
 * Download from a tarball instead of the Mercurial repository because all
 ports that can should do that.
 * Remove old patch which switched the Python install prefix. This is now
 controlled with a new cmake flag, so add
 `-DINSTALL_PYTHON_USING_PREFIX=ON`.
 * cmake-1.1 defaults to building out of source, but this build system
 doesn't like that when building the Python module, so explicitly turn off
 out of source building.
 * Convert `reinplace` that linked with multithreaded boost libraries if
 present into a patch that's always applied. We don't want ports to behave
 differently depending on what ports (or what variants of ports) are
 installed. And I don't think there's any variant of boost that causes it
 to build without the multithreaded libraries so it's fine to always use
 them.
 * Remove `reinplace` that changed the documentation installation
 directory. The `reinplace` no longer changed anything in the
 CMakeLists.txt file, and I could not find any similar code there. It seems
 that no documentation is installed. I didn't look if it was still there
 somewhere.
 * Alphabetize `configure.args`.
 * Fix all the paths in `configure.args`.
 * Remove `-DCMAKE_VERBOSE_MAKEFILE=ON` arg because the cmake portgroups
 already add that.
 * Fix variant descriptions: Use imperative style, with capitalized first
 letter, and use actual Python version numbers.
 * Remove unnecessary commented out code.

--
Ticket URL: <https://trac.macports.org/ticket/55748#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list