Revision
74248
Author
jmr@macports.org
Date
2010-12-08 17:44:05 -0800 (Wed, 08 Dec 2010)

Log Message

gforth: pass --build explicitly on x86_64 (#21515), disable parallel build

Modified Paths

Diff

Modified: trunk/dports/lang/gforth/Portfile (74247 => 74248)


--- trunk/dports/lang/gforth/Portfile	2010-12-09 01:18:54 UTC (rev 74247)
+++ trunk/dports/lang/gforth/Portfile	2010-12-09 01:44:05 UTC (rev 74248)
@@ -24,6 +24,8 @@
 test.cmd         make
 test.target      check bench
 
+use_parallel_build no
+
 destroot.destdir prefix=${destroot}${prefix} \
                  infodir=${destroot}${prefix}/share/info \
                  mandir=${destroot}${prefix}/share/man
@@ -31,3 +33,9 @@
 post-destroot {
   file delete -force ${destroot}${prefix}/share/info/dir
 }
+
+platform darwin {
+    if {$build_arch == "x86_64"} {
+        configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
+    }
+}