[41843] trunk/dports/audio/flac/Portfile
illogic-al at macports.org
illogic-al at macports.org
Mon Nov 10 20:15:44 PST 2008
Revision: 41843
http://trac.macports.org/changeset/41843
Author: illogic-al at macports.org
Date: 2008-11-10 20:15:44 -0800 (Mon, 10 Nov 2008)
Log Message:
-----------
Fix flac Portfile to work with +universal. Fixes ticket #17188.
Modified Paths:
--------------
trunk/dports/audio/flac/Portfile
Modified: trunk/dports/audio/flac/Portfile
===================================================================
--- trunk/dports/audio/flac/Portfile 2008-11-11 02:51:20 UTC (rev 41842)
+++ trunk/dports/audio/flac/Portfile 2008-11-11 04:15:44 UTC (rev 41843)
@@ -29,6 +29,12 @@
configure.args --mandir=${prefix}/share/man \
--disable-xmms-plugin
+post-configure {
+ if {[variant_isset universal]} {
+ reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
+ }
+}
+
build.args OBJ_FORMAT=macho
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081110/696bc2e7/attachment-0001.html>
More information about the macports-changes
mailing list