[98222] trunk/dports/devel/gmp
ryandesign at macports.org
ryandesign at macports.org
Sat Sep 29 13:08:55 PDT 2012
Revision: 98222
http://trac.macports.org//changeset/98222
Author: ryandesign at macports.org
Date: 2012-09-29 13:08:55 -0700 (Sat, 29 Sep 2012)
Log Message:
-----------
gmp:
* update to 5.0.5
* remove 2.5-year-old compatibility symlink for update from 4.x to 5.x
* remove compiler blacklisting because all tests pass on all systems I tested (Core i7 / Mountain Lion / Xcode 4.5: clang and llvm-gcc-4.2; Core 2 Duo / Lion / Xcode 4.3.3: clang and llvm-gcc-4.2; Core 2 Duo / Snow Leopard / Xcode 3.2.6: clang, llvm-gcc-4.2 and gcc-4.2)
* remove unnecessary --infodir configure.args
* remove unnecessary test.cmd
* use modern checksum types
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
trunk/dports/devel/gmp/files/patch-gmp-h.in.diff
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2012-09-29 18:17:05 UTC (rev 98221)
+++ trunk/dports/devel/gmp/Portfile 2012-09-29 20:08:55 UTC (rev 98222)
@@ -5,8 +5,7 @@
PortGroup muniversal 1.0
name gmp
-version 5.0.4
-revision 1
+version 5.0.5
categories devel math
license LGPL-3+
maintainers mcalhoun openmaintainer
@@ -26,9 +25,8 @@
homepage http://gmplib.org/
master_sites gnu
-checksums md5 50c3edcb7c9438e04377ee9a1a061b79 \
- sha1 ea4ea7c3f10436ef5ae7a75b3fad163a8b86edc0 \
- rmd160 4164d025e412a2fa087de5fa37d84408d5f29f69
+checksums rmd160 2e767b7392bd1f34a235ca061d1a016e9ec7d564 \
+ sha256 1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9
use_bzip2 yes
use_parallel_build yes
@@ -36,14 +34,8 @@
# See #16634
patchfiles patch-gmp-h.in.diff
-# llvm-gcc-4.2 fails make check
-if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler gcc-4.2
-}
+configure.args --enable-cxx
-configure.args --infodir=${prefix}/share/info \
- --enable-cxx
-
configure.universal_args-delete --disable-dependency-tracking
# if CFLAGS and CXXFLAGS are undefined, configure script tries to build fastest library for build machine.
@@ -56,14 +48,8 @@
configure.pipe no
test.run yes
-test.cmd make
test.target check
-post-destroot {
- # For the upgrade 4.3.2 -> 5.0.1 (r63519), 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
Modified: trunk/dports/devel/gmp/files/patch-gmp-h.in.diff
===================================================================
--- trunk/dports/devel/gmp/files/patch-gmp-h.in.diff 2012-09-29 18:17:05 UTC (rev 98221)
+++ trunk/dports/devel/gmp/files/patch-gmp-h.in.diff 2012-09-29 20:08:55 UTC (rev 98222)
@@ -1,6 +1,6 @@
---- gmp-h.in.orig 2010-01-07 13:09:02.000000000 -0700
-+++ gmp-h.in 2010-01-27 19:35:31.000000000 -0700
-@@ -421,13 +421,14 @@
+--- gmp-h.in.orig 2012-05-06 06:19:49.000000000 -0500
++++ gmp-h.in 2012-09-29 14:17:44.000000000 -0500
+@@ -420,13 +420,14 @@
GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
inline semantics, unless -fgnu89-inline is used. */
#ifdef __GNUC__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120929/0eff357a/attachment.html>
More information about the macports-changes
mailing list