[46662] trunk/dports/science/hdf5
jmr at macports.org
jmr at macports.org
Mon Feb 9 15:18:30 PST 2009
Revision: 46662
http://trac.macports.org/changeset/46662
Author: jmr at macports.org
Date: 2009-02-09 15:18:30 -0800 (Mon, 09 Feb 2009)
Log Message:
-----------
hdf5: use "-undefined dynamic_lookup" instead of "-flat_namespace -undefined suppress"
Modified Paths:
--------------
trunk/dports/science/hdf5/Portfile
Added Paths:
-----------
trunk/dports/science/hdf5/files/patch-c++_configure.diff
trunk/dports/science/hdf5/files/patch-configure.diff
trunk/dports/science/hdf5/files/patch-fortran_configure.diff
Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile 2009-02-09 22:52:07 UTC (rev 46661)
+++ trunk/dports/science/hdf5/Portfile 2009-02-09 23:18:30 UTC (rev 46662)
@@ -25,7 +25,9 @@
depends_lib port:zlib
patchfiles patch-commence.diff patch-c-commence.diff \
- patch-fortran-commence.diff patch-H5f90i.diff
+ patch-fortran-commence.diff patch-H5f90i.diff \
+ patch-configure.diff patch-c++_configure.diff \
+ patch-fortran_configure.diff
use_parallel_build yes
configure.ccache no
Added: trunk/dports/science/hdf5/files/patch-c++_configure.diff
===================================================================
--- trunk/dports/science/hdf5/files/patch-c++_configure.diff (rev 0)
+++ trunk/dports/science/hdf5/files/patch-c++_configure.diff 2009-02-09 23:18:30 UTC (rev 46662)
@@ -0,0 +1,26 @@
+--- c++/configure.orig 2008-11-11 08:36:37.000000000 +1100
++++ c++/configure 2009-02-10 09:54:36.000000000 +1100
+@@ -6423,9 +6423,22 @@
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-undefined suppress'
+ ;;
+- *) # Darwin 1.3 on
++ darwin1.*)
+ allow_undefined_flag='-flat_namespace -undefined suppress'
+ ;;
++ darwin*) # darwin 5.x on
++ # if running on 10.5 or later, the deployment target defaults
++ # to the OS version, if on x86, and 10.4, the deployment
++ # target defaults to 10.4. Don't you love it?
++ case ${MACOSX_DEPLOYMENT_TARGET},$host in
++ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ 10.[[012]]*)
++ allow_undefined_flag='-flat_namespace -undefined suppress' ;;
++ 10.*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ esac
++ ;;
+ esac
+ # FIXME: Relying on posixy $() will cause problems for
+ # cross-compilation, but unfortunately the echo tests do not
Added: trunk/dports/science/hdf5/files/patch-configure.diff
===================================================================
--- trunk/dports/science/hdf5/files/patch-configure.diff (rev 0)
+++ trunk/dports/science/hdf5/files/patch-configure.diff 2009-02-09 23:18:30 UTC (rev 46662)
@@ -0,0 +1,26 @@
+--- configure.orig 2008-11-11 08:36:37.000000000 +1100
++++ configure 2009-02-10 09:54:36.000000000 +1100
+@@ -6423,9 +6423,22 @@
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-undefined suppress'
+ ;;
+- *) # Darwin 1.3 on
++ darwin1.*)
+ allow_undefined_flag='-flat_namespace -undefined suppress'
+ ;;
++ darwin*) # darwin 5.x on
++ # if running on 10.5 or later, the deployment target defaults
++ # to the OS version, if on x86, and 10.4, the deployment
++ # target defaults to 10.4. Don't you love it?
++ case ${MACOSX_DEPLOYMENT_TARGET},$host in
++ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ 10.[[012]]*)
++ allow_undefined_flag='-flat_namespace -undefined suppress' ;;
++ 10.*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ esac
++ ;;
+ esac
+ # FIXME: Relying on posixy $() will cause problems for
+ # cross-compilation, but unfortunately the echo tests do not
Added: trunk/dports/science/hdf5/files/patch-fortran_configure.diff
===================================================================
--- trunk/dports/science/hdf5/files/patch-fortran_configure.diff (rev 0)
+++ trunk/dports/science/hdf5/files/patch-fortran_configure.diff 2009-02-09 23:18:30 UTC (rev 46662)
@@ -0,0 +1,26 @@
+--- fortran/configure.orig 2008-11-11 08:36:37.000000000 +1100
++++ fortran/configure 2009-02-10 09:54:36.000000000 +1100
+@@ -6423,9 +6423,22 @@
+ rhapsody* | darwin1.[012])
+ allow_undefined_flag='-undefined suppress'
+ ;;
+- *) # Darwin 1.3 on
++ darwin1.*)
+ allow_undefined_flag='-flat_namespace -undefined suppress'
+ ;;
++ darwin*) # darwin 5.x on
++ # if running on 10.5 or later, the deployment target defaults
++ # to the OS version, if on x86, and 10.4, the deployment
++ # target defaults to 10.4. Don't you love it?
++ case ${MACOSX_DEPLOYMENT_TARGET},$host in
++ 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ 10.[[012]]*)
++ allow_undefined_flag='-flat_namespace -undefined suppress' ;;
++ 10.*)
++ allow_undefined_flag='-undefined dynamic_lookup' ;;
++ esac
++ ;;
+ esac
+ # FIXME: Relying on posixy $() will cause problems for
+ # cross-compilation, but unfortunately the echo tests do not
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090209/7eeaf217/attachment.html>
More information about the macports-changes
mailing list