summaryrefslogtreecommitdiff
path: root/math/gmp
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-02 19:13:39 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-02 19:13:39 +0000
commitbf9ac17fa079891083b2db8b8ce505ff3f4d9e0b (patch)
tree6aa91f50d67ae2c9e5de8f1fd035482b7ea980c3 /math/gmp
parentUpdate to 0.2.9. (diff)
enable c++ support
bump portrevision
Diffstat (limited to 'math/gmp')
-rw-r--r--math/gmp/Makefile9
-rw-r--r--math/gmp/pkg-plist5
2 files changed, 8 insertions, 6 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index eba9b6cab4ca..e58f1bbcb1c8 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libgmp
PORTVERSION= 4.0.1
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gmp
@@ -16,12 +17,8 @@ DISTNAME= gmp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-cxx
INSTALLS_SHLIB= yes
-post-patch:
- @${PERL} -pi -e "s/--tag=CC//g" ${WRKSRC}/mpn/Makefile.in
-
-pre-configure:
- @${LN} -fs ${LOCALBASE}/bin/libtool ${WRKSRC}
-
.include <bsd.port.mk>
diff --git a/math/gmp/pkg-plist b/math/gmp/pkg-plist
index 324a0e0fb553..312d5bb56f35 100644
--- a/math/gmp/pkg-plist
+++ b/math/gmp/pkg-plist
@@ -1,8 +1,13 @@
include/gmp.h
+include/gmpxx.h
lib/libgmp.a
lib/libgmp.la
lib/libgmp.so
lib/libgmp.so.5
+lib/libgmpxx.a
+lib/libgmpxx.la
+lib/libgmpxx.so
+lib/libgmpxx.so.3
@unexec install-info --delete %D/info/gmp %D/info/dir
info/gmp.info
info/gmp.info-1