Ticket #28253 (closed defect: fixed)
science/hdf5-18 does not build all shared libraries
|Reported by:||daniel.hornung@…||Owned by:||mmoll@…|
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.
- Owner changed from macports-tickets@… to mmoll@…
- Port set to hdf5-18
- Status changed from new to closed
- Resolution set to fixed