aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-03-03 01:56:58 +0800
committernaddy <naddy@FreeBSD.org>2003-03-03 01:56:58 +0800
commitf9fcbbb539543d391e3878f5e3ed2682d4f09cf9 (patch)
treea7c01a5cc31e13fcddbaa9fa5112688068c39fde
parente310e0de1a33c9343b7663baec975b6a63ea281e (diff)
downloadfreebsd-ports-gnome-f9fcbbb539543d391e3878f5e3ed2682d4f09cf9.tar.gz
freebsd-ports-gnome-f9fcbbb539543d391e3878f5e3ed2682d4f09cf9.tar.zst
freebsd-ports-gnome-f9fcbbb539543d391e3878f5e3ed2682d4f09cf9.zip
Enable building of MPFR, a C library for multiple-precision floating-point
computations with exact rounding, in GMP. Take maintainership. PR: 48640 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
-rw-r--r--math/gmp/Makefile10
-rw-r--r--math/gmp/pkg-descr4
-rw-r--r--math/gmp/pkg-plist8
-rw-r--r--math/libgmp4/Makefile10
-rw-r--r--math/libgmp4/pkg-descr4
-rw-r--r--math/libgmp4/pkg-plist8
6 files changed, 30 insertions, 14 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index 41f512d49817..bc4cdb37bdab 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/Makefile
@@ -8,22 +8,22 @@
PORTNAME= libgmp
PORTVERSION= 4.1.2
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gmp
DISTNAME= gmp-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sysadmin@alexdupre.com
COMMENT= A free library for arbitrary precision arithmetic
USE_REINPLACE= yes
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --enable-cxx
+CONFIGURE_ARGS= --enable-cxx --enable-mpfr
INSTALLS_SHLIB= yes
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|--tag=CC||g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|--tag=CC||g'
.include <bsd.port.mk>
diff --git a/math/gmp/pkg-descr b/math/gmp/pkg-descr
index 58b733c9b7b6..ed221bb0e25c 100644
--- a/math/gmp/pkg-descr
+++ b/math/gmp/pkg-descr
@@ -18,5 +18,5 @@ algorithms.
WWW: http://www.swox.com/gmp/
--- Ying-Chieh Liao
- ijliao@csie.nctu.edu.tw
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/math/gmp/pkg-plist b/math/gmp/pkg-plist
index 991dc958059d..482489ee0b2a 100644
--- a/math/gmp/pkg-plist
+++ b/math/gmp/pkg-plist
@@ -1,5 +1,9 @@
+@comment $FreeBSD$
include/gmp.h
include/gmpxx.h
+include/mpf2mpfr.h
+include/mpfr.h
+include/mpfrxx.h
@unexec install-info --delete %D/info/gmp.info %D/info/dir
info/gmp.info
info/gmp.info-1
@@ -12,9 +16,13 @@ info/gmp.info-7
info/gmp.info-8
info/gmp.info-9
@exec install-info %D/info/gmp.info %D/info/dir
+@unexec install-info --delete %D/info/mpfr.info %D/info/dir
+info/mpfr.info
+@exec install-info %D/info/mpfr.info %D/info/dir
lib/libgmp.a
lib/libgmp.so
lib/libgmp.so.6
lib/libgmpxx.a
lib/libgmpxx.so
lib/libgmpxx.so.3
+lib/libmpfr.a
diff --git a/math/libgmp4/Makefile b/math/libgmp4/Makefile
index 41f512d49817..bc4cdb37bdab 100644
--- a/math/libgmp4/Makefile
+++ b/math/libgmp4/Makefile
@@ -8,22 +8,22 @@
PORTNAME= libgmp
PORTVERSION= 4.1.2
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gmp
DISTNAME= gmp-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sysadmin@alexdupre.com
COMMENT= A free library for arbitrary precision arithmetic
USE_REINPLACE= yes
USE_LIBTOOL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --enable-cxx
+CONFIGURE_ARGS= --enable-cxx --enable-mpfr
INSTALLS_SHLIB= yes
post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
- 's|--tag=CC||g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|--tag=CC||g'
.include <bsd.port.mk>
diff --git a/math/libgmp4/pkg-descr b/math/libgmp4/pkg-descr
index 58b733c9b7b6..ed221bb0e25c 100644
--- a/math/libgmp4/pkg-descr
+++ b/math/libgmp4/pkg-descr
@@ -18,5 +18,5 @@ algorithms.
WWW: http://www.swox.com/gmp/
--- Ying-Chieh Liao
- ijliao@csie.nctu.edu.tw
+- Alex Dupre
+sysadmin@alexdupre.com
diff --git a/math/libgmp4/pkg-plist b/math/libgmp4/pkg-plist
index 991dc958059d..482489ee0b2a 100644
--- a/math/libgmp4/pkg-plist
+++ b/math/libgmp4/pkg-plist
@@ -1,5 +1,9 @@
+@comment $FreeBSD$
include/gmp.h
include/gmpxx.h
+include/mpf2mpfr.h
+include/mpfr.h
+include/mpfrxx.h
@unexec install-info --delete %D/info/gmp.info %D/info/dir
info/gmp.info
info/gmp.info-1
@@ -12,9 +16,13 @@ info/gmp.info-7
info/gmp.info-8
info/gmp.info-9
@exec install-info %D/info/gmp.info %D/info/dir
+@unexec install-info --delete %D/info/mpfr.info %D/info/dir
+info/mpfr.info
+@exec install-info %D/info/mpfr.info %D/info/dir
lib/libgmp.a
lib/libgmp.so
lib/libgmp.so.6
lib/libgmpxx.a
lib/libgmpxx.so
lib/libgmpxx.so.3
+lib/libmpfr.a