[99110] trunk/dports/lang/ispc/Portfile
takeshi at macports.org
takeshi at macports.org
Fri Oct 26 07:25:21 PDT 2012
Revision: 99110
http://trac.macports.org//changeset/99110
Author: takeshi at macports.org
Date: 2012-10-26 07:25:21 -0700 (Fri, 26 Oct 2012)
Log Message:
-----------
ispc: remove g++ from examples/*/Makefile
Modified Paths:
--------------
trunk/dports/lang/ispc/Portfile
Modified: trunk/dports/lang/ispc/Portfile
===================================================================
--- trunk/dports/lang/ispc/Portfile 2012-10-26 13:07:36 UTC (rev 99109)
+++ trunk/dports/lang/ispc/Portfile 2012-10-26 14:25:21 UTC (rev 99110)
@@ -5,6 +5,7 @@
PortGroup github 1.0
github.setup ispc ispc 1.3.0 v
+revision 1
categories lang parallel
platforms darwin
supported_archs x86_64
@@ -30,8 +31,10 @@
configure.compiler macports-clang-${llvm_version}
post-patch {
reinplace {s|gcc|$(CXX)|} ${worksrcpath}/Makefile
- reinplace "s|g++|${configure.cxx}|" ${worksrcpath}/run_tests.py
- reinplace "s|g++|${configure.cxx}|" ${worksrcpath}/examples/common.mk
+ foreach f {run_tests.py examples/common.mk \
+ examples/aobench_instrumented/Makefile examples/simple/Makefile} {
+ reinplace "s|g++|${configure.cxx}|" ${worksrcpath}/${f}
+ }
if {[variant_isset doc]} {
reinplace {s|rst2html.py|rst2html-2.7.py|} ${worksrcpath}/docs/build.sh
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121026/3b2fa89e/attachment.html>
More information about the macports-changes
mailing list