summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-20 18:44:31 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-20 18:44:31 +0000
commit9f9684e7ea1eeb4ed23e18983914b55c510dce0d (patch)
treecc8107998698fb842a7f322539691e527961d4c7 /math
parent- update to 1.20 (diff)
- Do not install .la files
- Fix pkg-comment format PR: 40796 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=63285
Diffstat (limited to 'math')
-rw-r--r--math/gmp/Makefile9
-rw-r--r--math/gmp/files/patch-configure10
-rw-r--r--math/gmp/pkg-comment2
-rw-r--r--math/gmp/pkg-plist14
-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
8 files changed, 48 insertions, 22 deletions
diff --git a/math/gmp/Makefile b/math/gmp/Makefile
index ea4ea84b2aa1..5c1fc19d8765 100644
--- a/math/gmp/Makefile
+++ b/math/gmp/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/gmp/files/patch-configure b/math/gmp/files/patch-configure
new file mode 100644
index 000000000000..68f608ac1291
--- /dev/null
+++ b/math/gmp/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/gmp/pkg-comment b/math/gmp/pkg-comment
index 7afb720d44dc..11e376b31082 100644
--- a/math/gmp/pkg-comment
+++ b/math/gmp/pkg-comment
@@ -1 +1 @@
-GMP is a free library for arbitrary precision arithmetic
+A free library for arbitrary precision arithmetic
diff --git a/math/gmp/pkg-plist b/math/gmp/pkg-plist
index 288e983b2212..0b1b7a72baab 100644
--- a/math/gmp/pkg-plist
+++ b/math/gmp/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
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