[MacPorts] #28253: science/hdf5-18 does not build all shared libraries
MacPorts
noreply at macports.org
Wed Feb 2 06:27:50 PST 2011
#28253: science/hdf5-18 does not build all shared libraries
--------------------------------------+-------------------------------------
Reporter: daniel.hornung@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port:
--------------------------------------+-------------------------------------
Due to an upstream configure bug on Macs, HDF5's configure disables the
building of shared libraries if the --disable-fortran configure option is
given.
The patch shipped with the current port works around this bug partially,
but not completely (only some shared libraries are being built).
Replacing the current patch (patch-configure.diff) with the one attached
to this ticket works at least on my machine (OS X 10.5).
----
Explanation of the problem:
Currently the file config/apple (in the HDF5 archive) checks if the
variable "enable_fortran" is non-empty, if it is, shared libraries are
disabled. With the --disable-fortran configure option, this variable is
set to "no", so the test returns true, also disabling the building of
shared libraries. The attached patch now tests the value of the variable
against "yes", only then shared libraries are disabled, yielding the
correct behavior.
--
Ticket URL: <https://trac.macports.org/ticket/28253>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list