summaryrefslogtreecommitdiffstats
path: root/math/gmp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-02 19:13:39 +0000
committerijliao <ijliao@FreeBSD.org>2002-06-02 19:13:39 +0000
commit11c4c1bd064d14f70d709f640dddf682049fd3c7 (patch)
tree8dcf726c20ecc6fc98e2eacc86a3c03f60561cff /math/gmp
parenta7294363350365da89505a3e8b22f59329e1ac33 (diff)
downloadFreeBSD-ports-11c4c1bd064d14f70d709f640dddf682049fd3c7.zip
FreeBSD-ports-11c4c1bd064d14f70d709f640dddf682049fd3c7.tar.gz
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 eba9b6c..e58f1bb 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 324a0e0..312d5bb 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
OpenPOWER on IntegriCloud