[128847] trunk/dports/multimedia/libogg
larryv at macports.org
larryv at macports.org
Fri Nov 28 00:02:29 PST 2014
Revision: 128847
https://trac.macports.org/changeset/128847
Author: larryv at macports.org
Date: 2014-11-28 00:02:29 -0800 (Fri, 28 Nov 2014)
Log Message:
-----------
libogg: Fix linkage on Yosemite
Quashes 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/multimedia/libogg/Portfile
Added Paths:
-----------
trunk/dports/multimedia/libogg/files/
trunk/dports/multimedia/libogg/files/yosemite-libtool.patch
Modified: trunk/dports/multimedia/libogg/Portfile
===================================================================
--- trunk/dports/multimedia/libogg/Portfile 2014-11-28 07:43:58 UTC (rev 128846)
+++ trunk/dports/multimedia/libogg/Portfile 2014-11-28 08:02:29 UTC (rev 128847)
@@ -5,6 +5,7 @@
name libogg
version 1.3.2
+revision 1
categories multimedia
license BSD
platforms darwin
@@ -21,6 +22,9 @@
checksums rmd160 4db3f5cd9dbfa96c0dd2b667bb8247d7f4f552b2 \
sha256 3f687ccdd5ac8b52d76328fbbfebc70c459a40ea891dbf3dccb74a210826e79b
+# Don't link with "-flat_namespace -undefined suppress" on Yosemite and later.
+patchfiles yosemite-libtool.patch
+
post-destroot {
set docdir ${prefix}/share/doc/${name}
xinstall -m 0644 -W ${worksrcpath} AUTHORS CHANGES COPYING README \
Added: trunk/dports/multimedia/libogg/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/multimedia/libogg/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/multimedia/libogg/files/yosemite-libtool.patch 2014-11-28 08:02:29 UTC (rev 128847)
@@ -0,0 +1,13 @@
+Index: configure
+===================================================================
+--- configure.orig
++++ configure
+@@ -7265,7 +7265,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/20141128/a7f99524/attachment.html>
More information about the macports-changes
mailing list