[73360] trunk/dports/audio/id3lib/Portfile

jmr at macports.org jmr at macports.org
Wed Nov 10 18:02:59 PST 2010


Revision: 73360
          http://trac.macports.org/changeset/73360
Author:   jmr at macports.org
Date:     2010-11-10 18:02:55 -0800 (Wed, 10 Nov 2010)
Log Message:
-----------
id3lib: re-glibtoolize so universal works (#27246)

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

Modified: trunk/dports/audio/id3lib/Portfile
===================================================================
--- trunk/dports/audio/id3lib/Portfile	2010-11-11 01:48:18 UTC (rev 73359)
+++ trunk/dports/audio/id3lib/Portfile	2010-11-11 02:02:55 UTC (rev 73360)
@@ -24,18 +24,16 @@
 depends_lib        port:libiconv \
                    port:zlib
 
-depends_build      port:libtool
+depends_build      port:autoconf port:automake port:libtool
 
 patchfiles         patch_id3lib_3.8.3_UTF16_writing_bug.diff \
                    id3lib-vbr-overflow.patch
 patch.pre_args     -p1
 
+# Bundled libtool does not understand -arch for linking
+pre-configure {
+    system "cd ${worksrcpath} && ./reconf && glibtoolize"
+}
 configure.ccache   no
 
-post-patch {
-    # Bundled libtool does not understand -arch for linking
-    file delete ${worksrcpath}/libtool
-    file link -s ${worksrcpath}/libtool ${prefix}/bin/glibtool
-}
-
 use_parallel_build yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101110/b4c6a0d1/attachment.html>


More information about the macports-changes mailing list