Revision
74502
Author
elelay@macports.org
Date
2010-12-19 13:13:48 -0800 (Sun, 19 Dec 2010)

Log Message

fix #27533 - Soundtouch uses system aclocal files which makes it fail to autoreconf on 10.5
Deleting the wrong symlinks will let autoreconf recreate them pointing to MP's aclocal

Modified Paths

Diff

Modified: trunk/dports/audio/soundtouch/Portfile (74501 => 74502)


--- trunk/dports/audio/soundtouch/Portfile	2010-12-19 17:56:53 UTC (rev 74501)
+++ trunk/dports/audio/soundtouch/Portfile	2010-12-19 21:13:48 UTC (rev 74502)
@@ -29,6 +29,11 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
+# remove bad symlinks to /usr/share/aclocal, see #27533
+post-patch {
+    eval [list exec rm] [glob ${worksrcpath}/config/m4/*.m4]
+}
+
 configure.args      --enable-shared --disable-static
 
 post-destroot {