[54940] trunk/dports/benchmarks/nbench-byte/Portfile

jmr at macports.org jmr at macports.org
Tue Aug 4 15:06:47 PDT 2009


Revision: 54940
          http://trac.macports.org/changeset/54940
Author:   jmr at macports.org
Date:     2009-08-04 15:06:47 -0700 (Tue, 04 Aug 2009)
Log Message:
-----------
nbench-byte: disable parallel build, respect build_arch

Modified Paths:
--------------
    trunk/dports/benchmarks/nbench-byte/Portfile

Modified: trunk/dports/benchmarks/nbench-byte/Portfile
===================================================================
--- trunk/dports/benchmarks/nbench-byte/Portfile	2009-08-04 22:06:18 UTC (rev 54939)
+++ trunk/dports/benchmarks/nbench-byte/Portfile	2009-08-04 22:06:47 UTC (rev 54940)
@@ -21,6 +21,7 @@
                  sha1 f2a03c56dc2bf26e478c2a1828debcafd83983ef
 patchfiles       patch-Makefile.diff
 use_configure    no
+use_parallel_build no
 build.target
 build.args       CC=${configure.cc}
 
@@ -42,8 +43,12 @@
     ui_msg "that you start nbench from."
 }
 
-variant use_64_bit description {Build a 64-bit executable} {
-    build.env-append CFLAGS="-m64"
+if {[info exists build_arch]} {
+    build.env-append CFLAGS="${configure.cc_archflags}"
+} else {
+    variant use_64_bit description {Build a 64-bit executable} {
+        build.env-append CFLAGS="-m64"
+    }
 }
 
 livecheck.check regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090804/f7f34101/attachment.html>


More information about the macports-changes mailing list