[128848] trunk/dports/audio/flac
larryv at macports.org
larryv at macports.org
Fri Nov 28 00:02:36 PST 2014
Revision: 128848
https://trac.macports.org/changeset/128848
Author: larryv at macports.org
Date: 2014-11-28 00:02:36 -0800 (Fri, 28 Nov 2014)
Log Message:
-----------
flac: 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/audio/flac/Portfile
Added Paths:
-----------
trunk/dports/audio/flac/files/yosemite-libtool.patch
Modified: trunk/dports/audio/flac/Portfile
===================================================================
--- trunk/dports/audio/flac/Portfile 2014-11-28 08:02:29 UTC (rev 128847)
+++ trunk/dports/audio/flac/Portfile 2014-11-28 08:02:36 UTC (rev 128848)
@@ -5,6 +5,7 @@
name flac
version 1.3.1
+revision 1
categories audio
platforms darwin
license GPL-2+ BSD
@@ -34,6 +35,9 @@
patch-build_lib.mk.diff \
autoconf-no-xmms.patch
+# Don't link with "-flat_namespace -undefined suppress" on Yosemite and later.
+patchfiles-append yosemite-libtool.patch
+
use_autoreconf yes
autoreconf.args -fvi
Added: trunk/dports/audio/flac/files/yosemite-libtool.patch
===================================================================
--- trunk/dports/audio/flac/files/yosemite-libtool.patch (rev 0)
+++ trunk/dports/audio/flac/files/yosemite-libtool.patch 2014-11-28 08:02:36 UTC (rev 128848)
@@ -0,0 +1,13 @@
+Index: m4/libtool.m4
+===================================================================
+--- m4/libtool.m4.orig
++++ m4/libtool.m4
+@@ -1052,7 +1052,7 @@ _LT_EOF
+ 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/d3e5b407/attachment.html>
More information about the macports-changes
mailing list