[91376] trunk/dports/perl/p5-xml-parser/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Fri Mar 30 18:06:33 PDT 2012
Revision: 91376
https://trac.macports.org/changeset/91376
Author: jeremyhu at macports.org
Date: 2012-03-30 18:06:33 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
p5-xml-parser: Fix universal build, #33264, dev timeout.
Modified Paths:
--------------
trunk/dports/perl/p5-xml-parser/Portfile
Modified: trunk/dports/perl/p5-xml-parser/Portfile
===================================================================
--- trunk/dports/perl/p5-xml-parser/Portfile 2012-03-31 00:49:10 UTC (rev 91375)
+++ trunk/dports/perl/p5-xml-parser/Portfile 2012-03-31 01:06:33 UTC (rev 91376)
@@ -4,7 +4,7 @@
PortGroup perl5 1.0
perl5.setup XML-Parser 2.40
-revision 2
+revision 3
maintainers phoenixtrap.com:mjg
platforms darwin
categories-append textproc
@@ -21,4 +21,13 @@
if {${perl5.major} != ""} {
depends_lib-append port:expat
+
+universal_variant yes
+
+# Unfortunately this doesn't get inherited by Expat, so the post-configure is necessary
+configure.args-append CCFLAGS="[get_canonical_archflags cc]"
+
+post-configure {
+ reinplace "s:${configure.cc}:${configure.cc} [get_canonical_archflags]:" ${worksrcpath}/Expat/Makefile
}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120330/53f3b308/attachment-0001.html>
More information about the macports-changes
mailing list