[47678] trunk/dports/science/hdf5-18
mmoll at macports.org
mmoll at macports.org
Tue Mar 3 09:28:49 PST 2009
Revision: 47678
http://trac.macports.org/changeset/47678
Author: mmoll at macports.org
Date: 2009-03-03 09:28:49 -0800 (Tue, 03 Mar 2009)
Log Message:
-----------
build hdf5-18 with dynamic libs instead of static libs
Modified Paths:
--------------
trunk/dports/science/hdf5-18/Portfile
Added Paths:
-----------
trunk/dports/science/hdf5-18/files/
trunk/dports/science/hdf5-18/files/patch-config-apple.diff
Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile 2009-03-03 17:23:50 UTC (rev 47677)
+++ trunk/dports/science/hdf5-18/Portfile 2009-03-03 17:28:49 UTC (rev 47678)
@@ -20,12 +20,13 @@
distname ${realname}-${version}
extract.suffix .tar.gz
depends_lib port:zlib port:szip port:openmpi
+patchfiles patch-config-apple.diff
use_parallel_build yes
configure.args --with-zlib=yes --with-szlib=yes --enable-filters=all \
--enable-production --enable-parallel --disable-fortran \
- --disable-cxx
+ --disable-cxx --enable-shared --disable-static
configure.cc ${prefix}/bin/openmpicc
configure.cxx ${prefix}/bin/openmpicxx
configure.fc ${prefix}/bin/openmpif77
Added: trunk/dports/science/hdf5-18/files/patch-config-apple.diff
===================================================================
--- trunk/dports/science/hdf5-18/files/patch-config-apple.diff (rev 0)
+++ trunk/dports/science/hdf5-18/files/patch-config-apple.diff 2009-03-03 17:28:49 UTC (rev 47678)
@@ -0,0 +1,17 @@
+--- config/apple.orig 2009-03-03 10:59:12.000000000 -0600
++++ config/apple 2009-03-03 10:59:29.000000000 -0600
+@@ -64,9 +64,9 @@
+ esac
+ # Fortran doesn't support shared libraries
+ # Works with static executable only.
+-if test "X-" != "X-$enable_fortran"; then
+- echo ' warning: shared libraries are not supported with Fortran'
+- echo ' disabling shared libraries'
+- enable_shared="no"
+-fi
++# if test "X-" != "X-$enable_fortran"; then
++# echo ' warning: shared libraries are not supported with Fortran'
++# echo ' disabling shared libraries'
++# enable_shared="no"
++# fi
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090303/67becd4e/attachment.html>
More information about the macports-changes
mailing list