[47978] trunk/dports/devel/gmp/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Mar 11 16:38:27 PDT 2009
Revision: 47978
http://trac.macports.org/changeset/47978
Author: mcalhoun at macports.org
Date: 2009-03-11 16:38:26 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
gmp: mode32 on a G5 processor causes problems with pari.
mode32 may be faster, but it seems as if it may be more dangerous.
Fixes #18780.
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2009-03-11 22:52:18 UTC (rev 47977)
+++ trunk/dports/devel/gmp/Portfile 2009-03-11 23:38:26 UTC (rev 47978)
@@ -6,7 +6,7 @@
name gmp
version 4.2.4
-revision 2
+revision 3
categories devel math
maintainers mcalhoun openmaintainer
platforms darwin
@@ -48,27 +48,18 @@
test.cmd make
test.target check
-set machine [exec "/usr/bin/machine"]
-if { ${machine}=="ppc970" } {
- # Use special 32-bit mode for G5 processors.
- # In http://gmplib.org/manual/ABI-and-ISA.html, mode32 is said to be faster.
- set abi32 mode32
-} else {
- set abi32 32
-}
-
if {![variant_isset universal]} {
- configure.env ABI=${abi32}
+ configure.env ABI=32
} else {
# Keep configure.cflags and configure.cxxflags empty.
set merger_arch_flag no
array set merger_configure_env {
+ ppc ABI=32
i386 ABI=32
ppc64 ABI=mode64
x86_64 ABI=64
}
- set merger_configure_env(ppc) ABI=${abi32}
# universal_archs_to_use might not be set before pre-fetch.
pre-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090311/0ed2e12a/attachment.html>
More information about the macports-changes
mailing list