[86155] trunk/dports/math/sofia-ml/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Oct 19 23:08:12 PDT 2011
Revision: 86155
http://trac.macports.org/changeset/86155
Author: ryandesign at macports.org
Date: 2011-10-19 23:08:11 -0700 (Wed, 19 Oct 2011)
Log Message:
-----------
sofia-ml: ensure we're UsingTheRightCompiler and archs everywhere (even in the kmeans variant, and even in the test phase), and simplify build.args by removing unnecessary quoting
Modified Paths:
--------------
trunk/dports/math/sofia-ml/Portfile
Modified: trunk/dports/math/sofia-ml/Portfile
===================================================================
--- trunk/dports/math/sofia-ml/Portfile 2011-10-20 05:53:09 UTC (rev 86154)
+++ trunk/dports/math/sofia-ml/Portfile 2011-10-20 06:08:11 UTC (rev 86155)
@@ -9,6 +9,7 @@
name sofia-ml
version 2011-06-20-r${svn.revision}
+revision 1
categories math
platforms darwin
maintainers hum openmaintainer
@@ -30,11 +31,11 @@
variant universal {}
build.dir ${worksrcpath}/src
-build.args "GCC=\"${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]\""
+build.args GCC="${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx]"
build.target
test.run yes
-test.args ${build.args}
+eval test.args ${build.args}
test.target all_test
destroot {
@@ -51,10 +52,10 @@
variant kmeans description {Add sofia-kmeans package} {
post-build {
- system -W ${kmeans_worksrcpath} "${build.cmd} ${build.args} ${build.target}"
+ system -W ${kmeans_worksrcpath} "${build.cmd} [join ${build.args}] ${build.target}"
}
post-test {
- system -W ${kmeans_worksrcpath} "${build.cmd} ${test.args} ${test.target}"
+ system -W ${kmeans_worksrcpath} "${build.cmd} [join ${test.args}] ${test.target}"
}
post-destroot {
xinstall -m 755 -W ${worksrcpath} sofia-kmeans ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111019/96549142/attachment.html>
More information about the macports-changes
mailing list