[137061] trunk/dports/science/xraylib

ryandesign at macports.org ryandesign at macports.org
Wed Jun 3 14:03:17 PDT 2015


Revision: 137061
          https://trac.macports.org/changeset/137061
Author:   ryandesign at macports.org
Date:     2015-06-03 14:03:17 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
xraylib: Don't create flat-namespace dylib on Yosemite (#47942)

Quash the Libtool MACOSX_DEPLOYMENT_TARGET bug (comment:35:ticket:44596,
http://lists.gnu.org/archive/html/libtool-patches/2014-09/msg00000.html).

Modified Paths:
--------------
    trunk/dports/science/xraylib/Portfile

Added Paths:
-----------
    trunk/dports/science/xraylib/files/yosemite-libtool.patch

Modified: trunk/dports/science/xraylib/Portfile
===================================================================
--- trunk/dports/science/xraylib/Portfile	2015-06-03 20:59:58 UTC (rev 137060)
+++ trunk/dports/science/xraylib/Portfile	2015-06-03 21:03:17 UTC (rev 137061)
@@ -6,6 +6,7 @@
 
 name                xraylib
 version             3.1.0
+revision            1
 categories          science
 platforms           darwin
 license             BSD
@@ -27,6 +28,8 @@
 checksums           rmd160  17b96096244b9033f45bb3b630b3cc505a67c99b \
                     sha256  61a7c7fd0a911562151422bc6ca77df8beba37ec4e337765cf60dfbe1e04a1e3 
 
+patchfiles          yosemite-libtool.patch
+
 configure.args      --disable-idl \
                     --disable-fortran2003 \
                     --disable-perl \

Added: trunk/dports/science/xraylib/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/science/xraylib/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/science/xraylib/files/yosemite-libtool.patch	2015-06-03 21:03:17 UTC (rev 137061)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -10879,7 +10879,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
+       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
+ 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
+ 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
+-	10.[012]*)
++	10.[012][,.]*)
+ 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
+ 	10.*)
+ 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/19ec72a7/attachment.html>


More information about the macports-changes mailing list