[137040] trunk/dports/graphics/jbig2dec

larryv at macports.org larryv at macports.org
Wed Jun 3 11:01:28 PDT 2015


Revision: 137040
          https://trac.macports.org/changeset/137040
Author:   larryv at macports.org
Date:     2015-06-03 11:01:28 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
jbig2dec: Don't create flat-namespace dylib 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/jbig2dec/Portfile

Added Paths:
-----------
    trunk/dports/graphics/jbig2dec/files/
    trunk/dports/graphics/jbig2dec/files/yosemite-libtool.patch

Modified: trunk/dports/graphics/jbig2dec/Portfile
===================================================================
--- trunk/dports/graphics/jbig2dec/Portfile	2015-06-03 18:01:25 UTC (rev 137039)
+++ trunk/dports/graphics/jbig2dec/Portfile	2015-06-03 18:01:28 UTC (rev 137040)
@@ -5,7 +5,7 @@
 
 name                jbig2dec
 version             0.11
-revision            1
+revision            2
 categories          graphics
 platforms           darwin
 # COPYING is GPL 3, but LICENSE says it's GPL 2+
@@ -33,6 +33,9 @@
 checksums           rmd160  7c94cb5409371beff8f289beded40b02e0f55e89 \
                     sha256  016bf8148c850736c19e5e0336c43912d98d68f90c9171912c4f67f5c060adf5
 
+# Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+patchfiles          yosemite-libtool.patch
+
 post-destroot {
     set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -d ${docdir}

Added: trunk/dports/graphics/jbig2dec/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/graphics/jbig2dec/files/yosemite-libtool.patch	                        (rev 0)
+++ trunk/dports/graphics/jbig2dec/files/yosemite-libtool.patch	2015-06-03 18:01:28 UTC (rev 137040)
@@ -0,0 +1,15 @@
+Don't accidentally create flat-namespace dylibs on Yosemite (#44596).
+
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -6395,7 +6395,7 @@ $as_echo "$lt_cv_ld_exported_symbols_lis
+       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/519088c8/attachment.html>


More information about the macports-changes mailing list