aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/gmp/Makefile17
-rw-r--r--math/gmp/distinfo4
-rw-r--r--math/gmp/pkg-plist2
3 files changed, 12 insertions, 11 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index 38d30aab8df1..0ae35a9a845c 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -1,25 +1,26 @@
-# New ports collection makefile for: libgmp3
-# Date created: Jan 11, 2001
-# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
-#
+# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= gmp
-PORTVERSION= 5.0.5
+PORTVERSION= 5.1.0
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gmp
+DISTFILES= ${PORTNAME}-${PORTVERSION}a${EXTRACT_SUFX}
MAINTAINER= ale@FreeBSD.org
COMMENT= A free library for arbitrary precision arithmetic
LICENSE= LGPL3
-OPTIONS= CPU_OPTS "Enable assembly optimizations for your CPU" off
+OPTIONS_DEFINE= CPU_OPTS
+CPU_OPTS_DESC= Enable assembly optimizations for your CPU
USE_BZIP2= yes
HAS_CONFIGURE= yes
+GNU_CONFIGURE= no # needed, since the following line would add it
+USE_AUTOTOOLS= libtool
+USE_GNOME= ltverhack
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --prefix=${PREFIX} \
--infodir=${PREFIX}/info \
@@ -32,7 +33,7 @@ INFO= gmp
.include <bsd.port.pre.mk>
-.if !defined(WITH_CPU_OPTS)
+.if ! ${PORT_OPTIONS:MCPU_OPTS}
CONFIGURE_ARGS+=--build=${ARCH}-portbld-freebsd${OSREL}
.elif ${ARCH:S/64//} != ${ARCH}
CONFIGURE_ENV+= ABI="64"
diff --git a/math/gmp/distinfo b/math/gmp/distinfo
index c8cfcd3ad020..63abb4553a36 100644
--- a/math/gmp/distinfo
+++ b/math/gmp/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gmp-5.0.5.tar.bz2) = 1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9
-SIZE (gmp-5.0.5.tar.bz2) = 2052144
+SHA256 (gmp-5.1.0a.tar.bz2) = ed5239a62aeaba6cfc8d50ec36fb59215618f98c248d4bb05ca9bccd990794dc
+SIZE (gmp-5.1.0a.tar.bz2) = 2196866
diff --git a/math/gmp/pkg-plist b/math/gmp/pkg-plist
index f6fe0dbc830c..877b0d7e98fb 100644
--- a/math/gmp/pkg-plist
+++ b/math/gmp/pkg-plist
@@ -7,4 +7,4 @@ lib/libgmp.so.10
lib/libgmpxx.a
lib/libgmpxx.la
lib/libgmpxx.so
-lib/libgmpxx.so.6
+lib/libgmpxx.so.4