[63902] trunk/dports/devel/apr/Portfile

dluke at macports.org dluke at macports.org
Wed Feb 17 14:27:57 PST 2010


Revision: 63902
          http://trac.macports.org/changeset/63902
Author:   dluke at macports.org
Date:     2010-02-17 14:27:56 -0800 (Wed, 17 Feb 2010)
Log Message:
-----------
Switch to a more specific regex (no revbump needed)

Modified Paths:
--------------
    trunk/dports/devel/apr/Portfile

Modified: trunk/dports/devel/apr/Portfile
===================================================================
--- trunk/dports/devel/apr/Portfile	2010-02-17 20:54:15 UTC (rev 63901)
+++ trunk/dports/devel/apr/Portfile	2010-02-17 22:27:56 UTC (rev 63902)
@@ -43,8 +43,9 @@
 	patchfiles-append	patch-universal.diff
 
 	post-destroot {
-		reinplace {s/-arch .*//} ${destroot}${prefix}/share/apr-1/build/apr_rules.mk
-		reinplace -E {s|-arch [^ "]+||g} ${destroot}${prefix}/share/apr-1/build/libtool
+		reinplace -E {s|-arch [a-z0-9_]+||g} \
+			${destroot}${prefix}/share/apr-1/build/apr_rules.mk \
+			${destroot}${prefix}/share/apr-1/build/libtool
 	}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100217/53ed70f5/attachment.html>


More information about the macports-changes mailing list