aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-03 03:13:39 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-03 03:13:39 +0800
commit11c4c1bd064d14f70d709f640dddf682049fd3c7 (patch)
tree8dcf726c20ecc6fc98e2eacc86a3c03f60561cff /math
parenta7294363350365da89505a3e8b22f59329e1ac33 (diff)
downloadfreebsd-ports-gnome-11c4c1bd064d14f70d709f640dddf682049fd3c7.tar.gz
freebsd-ports-gnome-11c4c1bd064d14f70d709f640dddf682049fd3c7.tar.zst
freebsd-ports-gnome-11c4c1bd064d14f70d709f640dddf682049fd3c7.zip
enable c++ support
bump portrevision
Diffstat (limited to 'math')
-rw-r--r--math/gmp/Makefile9
-rw-r--r--math/gmp/pkg-plist5
-rw-r--r--math/libgmp4/Makefile9
-rw-r--r--math/libgmp4/pkg-plist5
4 files changed, 16 insertions, 12 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
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