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

mcalhoun at macports.org mcalhoun at macports.org
Sat Feb 6 18:27:12 PST 2010


Revision: 63519
          http://trac.macports.org/changeset/63519
Author:   mcalhoun at macports.org
Date:     2010-02-06 18:27:10 -0800 (Sat, 06 Feb 2010)
Log Message:
-----------
gmp: Update version 4.3.2 --> 5.0.1.
     GMP should not properly detect Intel Core i7 processors, so comment out
        --build in configure.args
        (remove this comment when confirmed it is no longer needed).

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

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile	2010-02-07 01:27:53 UTC (rev 63518)
+++ trunk/dports/devel/gmp/Portfile	2010-02-07 02:27:10 UTC (rev 63519)
@@ -5,7 +5,7 @@
 PortGroup  muniversal  1.0
 
 name            gmp
-version         4.3.2
+version         5.0.1
 categories      devel math
 maintainers     mcalhoun openmaintainer
 platforms       darwin
@@ -24,9 +24,9 @@
 homepage        http://gmplib.org/
 master_sites    gnu
 
-checksums           md5     dd60683d7057917e34630b4a787932e8 \
-                    sha1    c011e8feaf1bb89158bd55eaabd7ef8fdd101a2c \
-                    rmd160  a8f3f41501ece290c348aeb4444bbea40bc53e71
+checksums           md5     6bac6df75c192a13419dfd71d19240a7 \
+                    sha1    6340edc7ceb95f9015a758c7c0d196eb0f441d49 \
+                    rmd160  3e89ebf5294639e1c926b92d9786bbdd0c8fa587
 
 use_bzip2       yes
 use_parallel_build yes
@@ -54,13 +54,18 @@
 test.cmd        make
 test.target     check
 
+post-destroot {
+    # For the upgrade 4.3.2 -> 5.0.1, do not force all packages which depend on GMP to be rebuilt.
+    ln -s libgmp.dylib ${destroot}${prefix}/lib/libgmp.3.dylib
+}
+
 if {![variant_isset universal]} {
     if {${build_arch} == "x86_64"} {
         configure.env   ABI=64
-        if {${os.platform} == "darwin"} {
-            # fails to automatically detect that i7 is x86_64 capable
-            configure.args-append --build=core2-apple-darwin${os.major}
-        }
+        #if {${os.platform} == "darwin"} {
+            ## fails to automatically detect that i7 is x86_64 capable
+            #configure.args-append --build=core2-apple-darwin${os.major}
+        #}
     } elseif {${build_arch} == "ppc64"} {
         configure.env   ABI=mode64
     } else {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100206/fd3592ea/attachment.html>


More information about the macports-changes mailing list