From e0463f4b14bb41d899d5e95f3ee5cd6522789c50 Mon Sep 17 00:00:00 2001 From: ijliao Date: Sat, 20 Jul 2002 18:44:31 +0000 Subject: - Do not install .la files - Fix pkg-comment format PR: 40796 Submitted by: Ports Fury --- math/libgmp4/Makefile | 9 +++++++-- math/libgmp4/files/patch-configure | 10 ++++++++++ math/libgmp4/pkg-comment | 2 +- math/libgmp4/pkg-plist | 14 ++++++-------- 4 files changed, 24 insertions(+), 11 deletions(-) create mode 100644 math/libgmp4/files/patch-configure (limited to 'math/libgmp4') diff --git a/math/libgmp4/Makefile b/math/libgmp4/Makefile index ea4ea84..5c1fc19 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 diff --git a/math/libgmp4/files/patch-configure b/math/libgmp4/files/patch-configure new file mode 100644 index 0000000..68f608a --- /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 7afb720..11e376b 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 288e983..0b1b7a7 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 -- cgit v1.1