aboutsummaryrefslogtreecommitdiffstats
path: root/math/libgmp4
diff options
context:
space:
mode:
Diffstat (limited to 'math/libgmp4')
-rw-r--r--math/libgmp4/Makefile9
-rw-r--r--math/libgmp4/pkg-plist5
2 files changed, 8 insertions, 6 deletions
diff --git a/math/libgmp4/Makefile b/math/libgmp4/Makefile
index eba9b6cab4ca..e58f1bbcb1c8 100644
--- a/math/libgmp4/Makefile
+++ b/math/libgmp4/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/libgmp4/pkg-plist b/math/libgmp4/pkg-plist
index 324a0e0fb553..312d5bb56f35 100644
--- a/math/libgmp4/pkg-plist
+++ b/math/libgmp4/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