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

mcalhoun at macports.org mcalhoun at macports.org
Sun Jan 11 00:40:43 PST 2009


Revision: 45214
          http://trac.macports.org/changeset/45214
Author:   mcalhoun at macports.org
Date:     2009-01-11 00:40:43 -0800 (Sun, 11 Jan 2009)
Log Message:
-----------
gmp:
   * Remove --enable-shared (it is built by default)
   * Add -force_cpusubtype_ALL only in platform ppc instead of deleting it in platform i386.
   * Remove --host=none-apple-darwin as gmp now recognizes more processors (e.g. core2).

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

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile	2009-01-11 08:30:21 UTC (rev 45213)
+++ trunk/dports/devel/gmp/Portfile	2009-01-11 08:40:43 UTC (rev 45214)
@@ -4,6 +4,7 @@
 
 name            gmp
 version         4.2.4
+revision        1
 categories      devel math
 maintainers     nomaintainer
 platforms       darwin
@@ -30,24 +31,16 @@
 use_parallel_build yes
 
 configure.env   ABI=32
-configure.cflags-append -force_cpusubtype_ALL
+
 configure.args  --infodir=${prefix}/share/info \
-                --enable-shared \
                 --enable-cxx
 
 universal_variant   no
 
-post-destroot {
-    system "ranlib ${destroot}${prefix}/lib/libgmp.a"
-}
-
 test.run        yes
 test.cmd        make
 test.target     check
 
-platform i386 {
-    configure.env-delete    ABI=32
-    configure.args-append   --host=none-apple-darwin
-    configure.cflags-delete -force_cpusubtype_ALL
+platform ppc {
+    configure.cflags-append -force_cpusubtype_ALL
 }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090111/ec7e1758/attachment.html>


More information about the macports-changes mailing list