[MacPorts] #28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together

MacPorts noreply at macports.org
Thu Apr 7 12:52:55 PDT 2011


#28554: hdf5-18: Enable static fortran libs and shared c/c++ libs together
------------------------------------+---------------------------------------
  Reporter:  eborisch@…             |       Owner:  mmoll@…           
      Type:  enhancement            |      Status:  closed            
  Priority:  Normal                 |   Milestone:                    
 Component:  ports                  |     Version:  1.9.2             
Resolution:  fixed                  |    Keywords:                    
      Port:  hdf5-18                |  
------------------------------------+---------------------------------------

Comment(by eborisch@…):

 For the record, I submitted following comments upstream
 (http://www.hdfgroup.org/about/contact-form.html) 4/7/2011:

 While the shared fortran HDF5 libraries may not function on OSX, the
 shared C libraries certainly do. Two minor changes to the logic in will
 enable building static+shared C/C++ and the static Fortan libraries at the
 same time, as is already supported for some other compiler variations:

 configure[.in] : add a case to check for Darwin and then set
 H5_FORTRAN_SHARED="no" among the existing un-supported shared fortran
 compiler checks. (line 845 of configure.in)

 config/apple : remove the "Fortran doesn't work with shared libraries"
 section (lines 50-57) as this will be redundant with the above change.

-- 
Ticket URL: <https://trac.macports.org/ticket/28554#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list