[41306] trunk/dports/audio/audiofile/Portfile

pguyot at kallisys.net pguyot at kallisys.net
Thu Oct 30 01:11:24 PDT 2008


Revision: 41306
          http://trac.macports.org/changeset/41306
Author:   pguyot at kallisys.net
Date:     2008-10-30 01:11:22 -0700 (Thu, 30 Oct 2008)
Log Message:
-----------
Fix universal variant, just like r41252

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

Modified: trunk/dports/audio/audiofile/Portfile
===================================================================
--- trunk/dports/audio/audiofile/Portfile	2008-10-30 08:01:18 UTC (rev 41305)
+++ trunk/dports/audio/audiofile/Portfile	2008-10-30 08:11:22 UTC (rev 41306)
@@ -21,6 +21,8 @@
                 sha1 94a6ab8e5122bc1971cf186e5a52d032811c9bc5 \
                 rmd160 b61fbc856768a5838ca5c0fad602f35205e8d037
 
+depends_build   port:libtool
+
 patchfiles	    patch-audiofile.m4.diff
 
 configure.ccache    no
@@ -35,5 +37,12 @@
         COPYING.GPL ChangeLog NEWS NOTES README TODO ${destroot}${docdir}
 }
 
+post-configure {
+    if {[variant_isset universal]} {
+        file delete ${worksrcpath}/libtool
+        file link -s ${worksrcpath}/libtool ${prefix}/bin/glibtool
+    }
+}
+
 livecheck.check regex
 livecheck.regex {Version (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081030/7e18ced9/attachment.html>


More information about the macports-changes mailing list