[40498] trunk/dports/audio/taglib/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Fri Oct 3 15:50:07 PDT 2008
Revision: 40498
http://trac.macports.org/changeset/40498
Author: macsforever2000 at macports.org
Date: 2008-10-03 15:50:06 -0700 (Fri, 03 Oct 2008)
Log Message:
-----------
Fix universal variant build. Closes ticket #16530.
Modified Paths:
--------------
trunk/dports/audio/taglib/Portfile
Modified: trunk/dports/audio/taglib/Portfile
===================================================================
--- trunk/dports/audio/taglib/Portfile 2008-10-03 20:42:25 UTC (rev 40497)
+++ trunk/dports/audio/taglib/Portfile 2008-10-03 22:50:06 UTC (rev 40498)
@@ -16,3 +16,17 @@
platforms darwin
master_sites http://developer.kde.org/~wheeler/files/src/
checksums sha1 0f57d4763af82a3d87f6c3f8875ca5d87ead918f
+
+if {[variant_isset universal]} {
+ depends_lib port:libtool port:autoconf
+}
+
+pre-configure {
+ if {[variant_isset universal]} {
+ delete ${worksrcpath}/autom4te.cache
+ copy -force ${prefix}/share/libtool/ltmain.sh ${worksrcpath}/admin
+ copy -force ${prefix}/share/aclocal/libtool.m4 ${worksrcpath}/admin/libtool.m4.in
+ system "cd ${worksrcpath} && autoreconf"
+ }
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081003/033fc938/attachment.html
More information about the macports-changes
mailing list