[137027] trunk/dports/graphics/libgeotiff
larryv at macports.org
larryv at macports.org
Wed Jun 3 08:59:57 PDT 2015
Revision: 137027
https://trac.macports.org/changeset/137027
Author: larryv at macports.org
Date: 2015-06-03 08:59:57 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
libgeotiff: Don't create flat-namespace dylibs on Yosemite
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/graphics/libgeotiff/Portfile
Added Paths:
-----------
trunk/dports/graphics/libgeotiff/files/
trunk/dports/graphics/libgeotiff/files/yosemite-libtool.patch
Modified: trunk/dports/graphics/libgeotiff/Portfile
===================================================================
--- trunk/dports/graphics/libgeotiff/Portfile 2015-06-03 15:44:11 UTC (rev 137026)
+++ trunk/dports/graphics/libgeotiff/Portfile 2015-06-03 15:59:57 UTC (rev 137027)
@@ -5,7 +5,7 @@
name libgeotiff
version 1.4.1
-revision 2
+revision 3
categories graphics
platforms darwin
license X11
@@ -25,6 +25,9 @@
depends_lib port:tiff port:proj port:zlib port:jpeg
+# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+patchfiles yosemite-libtool.patch
+
post-patch {
reinplace "s|epsg_csv|${name}/epsg_csv|" ${worksrcpath}/Makefile.in
}
Added: trunk/dports/graphics/libgeotiff/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/graphics/libgeotiff/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/graphics/libgeotiff/files/yosemite-libtool.patch 2015-06-03 15:59:57 UTC (rev 137027)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -7963,7 +7963,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/53721f2a/attachment.html>
More information about the macports-changes
mailing list