[75662] trunk/dports/science/hdf5-18
mmoll at macports.org
mmoll at macports.org
Thu Feb 3 07:06:00 PST 2011
Revision: 75662
http://trac.macports.org/changeset/75662
Author: mmoll at macports.org
Date: 2011-02-03 07:05:59 -0800 (Thu, 03 Feb 2011)
Log Message:
-----------
science/hdf5-18: enable C++ libs. closes #28253
Modified Paths:
--------------
trunk/dports/science/hdf5-18/Portfile
Added Paths:
-----------
trunk/dports/science/hdf5-18/files/apple_fortran_config.patch
Removed Paths:
-------------
trunk/dports/science/hdf5-18/files/patch-configure.diff
Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile 2011-02-03 02:13:14 UTC (rev 75661)
+++ trunk/dports/science/hdf5-18/Portfile 2011-02-03 15:05:59 UTC (rev 75662)
@@ -7,6 +7,7 @@
set realname hdf5
name ${realname}-18
version 1.8.5-patch1
+revision 1
categories science
maintainers mmoll openmaintainer
@@ -23,7 +24,7 @@
rmd160 d25d51f49e77843c0b23ad36a733c664a34cda64
distname ${realname}-${version}
use_bzip2 yes
-patchfiles patch-configure.diff
+patchfiles apple_fortran_config.patch
depends_lib port:zlib port:szip
use_parallel_build yes
Added: trunk/dports/science/hdf5-18/files/apple_fortran_config.patch
===================================================================
--- trunk/dports/science/hdf5-18/files/apple_fortran_config.patch (rev 0)
+++ trunk/dports/science/hdf5-18/files/apple_fortran_config.patch 2011-02-03 15:05:59 UTC (rev 75662)
@@ -0,0 +1,11 @@
+--- config/apple 2011-02-01 17:36:41.000000000 +0100
++++ config/apple.new 2011-02-01 17:36:15.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ # Fortran doesn't work with shared libraries
+ #
+-if test "X-" != "X-$enable_fortran"; then
++if test "X-yes" = "X-$enable_fortran"; then
+ echo ' Warning: shared libraries are not supported with Fortran'
+ echo ' Disabling shared libraries'
+ enable_shared="no"
Deleted: trunk/dports/science/hdf5-18/files/patch-configure.diff
===================================================================
--- trunk/dports/science/hdf5-18/files/patch-configure.diff 2011-02-03 02:13:14 UTC (rev 75661)
+++ trunk/dports/science/hdf5-18/files/patch-configure.diff 2011-02-03 15:05:59 UTC (rev 75662)
@@ -1,11 +0,0 @@
---- configure.orig 2009-11-10 15:12:10.000000000 -0600
-+++ configure 2009-11-13 17:00:20.000000000 -0600
-@@ -14942,7 +14942,7 @@
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
- $as_echo_n "checking whether to build shared libraries... " >&6; }
- test "$can_build_shared" = "no" && enable_shared=no
--
-+ enable_shared=yes
- # On AIX, shared libraries and static libraries use the same namespace, and
- # are all built from PIC.
- case $host_os in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110203/623629b1/attachment.html>
More information about the macports-changes
mailing list