[52239] trunk/dports/devel/gmp/Portfile

toby at macports.org toby at macports.org
Fri Jun 12 14:47:54 PDT 2009


Revision: 52239
          http://trac.macports.org/changeset/52239
Author:   toby at macports.org
Date:     2009-06-12 14:47:53 -0700 (Fri, 12 Jun 2009)
Log Message:
-----------
build for correct arch

Modified Paths:
--------------
    trunk/dports/devel/gmp/Portfile

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile	2009-06-12 21:39:12 UTC (rev 52238)
+++ trunk/dports/devel/gmp/Portfile	2009-06-12 21:47:53 UTC (rev 52239)
@@ -51,7 +51,11 @@
 test.target     check
 
 if {![variant_isset universal]} {
-    configure.env   ABI=32
+    if {${os.major} >= 10 && $tcl_platform(wordSize) == 8} {
+        configure.env   ABI=64
+    } else {
+        configure.env   ABI=32
+    }
 } else {
     # Keep configure.cflags and configure.cxxflags empty.
     set merger_arch_flag no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090612/9236c4a8/attachment-0001.html>


More information about the macports-changes mailing list