[88363] trunk/dports/science/clhep/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Dec 29 11:14:03 PST 2011
Revision: 88363
http://trac.macports.org/changeset/88363
Author: ryandesign at macports.org
Date: 2011-12-29 11:14:01 -0800 (Thu, 29 Dec 2011)
Log Message:
-----------
clhep: shorten and future-proof the post-build step by using fs-traverse to locate all the -config scripts we need to take -arch flags out of
Modified Paths:
--------------
trunk/dports/science/clhep/Portfile
Modified: trunk/dports/science/clhep/Portfile
===================================================================
--- trunk/dports/science/clhep/Portfile 2011-12-29 18:09:48 UTC (rev 88362)
+++ trunk/dports/science/clhep/Portfile 2011-12-29 19:14:01 UTC (rev 88363)
@@ -29,19 +29,11 @@
}
post-build {
- reinplace -E {s|-arch [^ ]+||g} \
- ${worksrcpath}/clhep-config \
- ${worksrcpath}/Cast/Cast-config \
- ${worksrcpath}/Evaluator/Evaluator-config \
- ${worksrcpath}/Exceptions/Exceptions-config \
- ${worksrcpath}/GenericFunctions/GenericFunctions-config \
- ${worksrcpath}/Geometry/Geometry-config \
- ${worksrcpath}/Matrix/Matrix-config \
- ${worksrcpath}/Random/Random-config \
- ${worksrcpath}/RandomObjects/RandomObjects-config \
- ${worksrcpath}/RefCount/RefCount-config \
- ${worksrcpath}/Units/Units-config \
- ${worksrcpath}/Vector/Vector-config
+ fs-traverse file ${build.dir} {
+ if {[string match {*-config} ${file}]} {
+ reinplace -E {s|-arch [^ ]+||g} ${file}
+ }
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111229/9793753a/attachment.html>
More information about the macports-changes
mailing list