aboutsummaryrefslogtreecommitdiffstats
path: root/math/libgmp4
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-21 02:44:31 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-21 02:44:31 +0800
commite0463f4b14bb41d899d5e95f3ee5cd6522789c50 (patch)
tree7f324407f1c44b1f9e0d8a40072fbd03c7c8e1cd /math/libgmp4
parent297bff7d977256ab1ad6d8312d47ce868cc5645e (diff)
downloadfreebsd-ports-gnome-e0463f4b14bb41d899d5e95f3ee5cd6522789c50.tar.gz
freebsd-ports-gnome-e0463f4b14bb41d899d5e95f3ee5cd6522789c50.tar.zst
freebsd-ports-gnome-e0463f4b14bb41d899d5e95f3ee5cd6522789c50.zip
- Do not install .la files
- Fix pkg-comment format PR: 40796 Submitted by: Ports Fury
Diffstat (limited to 'math/libgmp4')
-rw-r--r--math/libgmp4/Makefile9
-rw-r--r--math/libgmp4/files/patch-configure10
-rw-r--r--math/libgmp4/pkg-comment2
-rw-r--r--math/libgmp4/pkg-plist14
4 files changed, 24 insertions, 11 deletions
diff --git a/math/libgmp4/Makefile b/math/libgmp4/Makefile
index ea4ea84b2aa1..5c1fc19d8765 100644
--- a/math/libgmp4/Makefile
+++ b/math/libgmp4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= libgmp
PORTVERSION= 4.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gmp
@@ -16,9 +16,14 @@ DISTNAME= gmp-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_LIBTOOL= yes
-GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-cxx
INSTALLS_SHLIB= yes
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|--tag=CC||g'
+
.include <bsd.port.mk>
diff --git a/math/libgmp4/files/patch-configure b/math/libgmp4/files/patch-configure
new file mode 100644
index 000000000000..68f608ac1291
--- /dev/null
+++ b/math/libgmp4/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Fri May 24 19:54:44 2002
++++ configure Fri Jul 19 05:02:31 2002
+@@ -16277,6 +16277,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/math/libgmp4/pkg-comment b/math/libgmp4/pkg-comment
index 7afb720d44dc..11e376b31082 100644
--- a/math/libgmp4/pkg-comment
+++ b/math/libgmp4/pkg-comment
@@ -1 +1 @@
-GMP is a free library for arbitrary precision arithmetic
+A free library for arbitrary precision arithmetic
diff --git a/math/libgmp4/pkg-plist b/math/libgmp4/pkg-plist
index 288e983b2212..0b1b7a72baab 100644
--- a/math/libgmp4/pkg-plist
+++ b/math/libgmp4/pkg-plist
@@ -1,13 +1,5 @@
include/gmp.h
include/gmpxx.h
-lib/libgmp.a
-lib/libgmp.la
-lib/libgmp.so
-lib/libgmp.so.6
-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
@@ -19,3 +11,9 @@ info/gmp.info-6
info/gmp.info-7
info/gmp.info-8
@exec install-info %D/info/gmp %D/info/dir
+lib/libgmp.a
+lib/libgmp.so
+lib/libgmp.so.6
+lib/libgmpxx.a
+lib/libgmpxx.so
+lib/libgmpxx.so.3