[71835] trunk/dports/audio/libid3tag/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Sep 24 00:18:30 PDT 2010


Revision: 71835
          http://trac.macports.org/changeset/71835
Author:   ryandesign at macports.org
Date:     2010-09-24 00:18:28 -0700 (Fri, 24 Sep 2010)
Log Message:
-----------
libid3tag: support non-default-build_arch; see #26611

Modified Paths:
--------------
    trunk/dports/audio/libid3tag/Portfile

Modified: trunk/dports/audio/libid3tag/Portfile
===================================================================
--- trunk/dports/audio/libid3tag/Portfile	2010-09-24 07:16:48 UTC (rev 71834)
+++ trunk/dports/audio/libid3tag/Portfile	2010-09-24 07:18:28 UTC (rev 71835)
@@ -5,7 +5,7 @@
 
 name		libid3tag
 version		0.15.1b
-revision	1
+revision	2
 categories	audio
 maintainers	nomaintainer
 description	id3 tag manipulation library
@@ -25,9 +25,12 @@
 }
 
 post-configure {
-	if {[variant_isset universal]} {
-		reinplace "s|CC -dynamiclib|CC -dynamiclib ${configure.universal_ldflags}|g" ${worksrcpath}/libtool
-	}
+    if {[variant_isset universal]} {
+        set archflags ${configure.universal_ldflags}
+    } else {
+        set archflags ${configure.ld_archflags}
+    }
+    reinplace "s|CC -dynamiclib|CC -dynamiclib ${archflags}|g" ${worksrcpath}/libtool
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100924/70748ee6/attachment-0001.html>


More information about the macports-changes mailing list