Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 17:22:48 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/40796: Update port: math/libgmp4
Message-ID:  <200207200022.g6K0MmiG003486@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         40796
>Category:       ports
>Synopsis:       Update port: math/libgmp4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 17:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Do not install .la files
- Fix pkg-comment format

New file:
files/patch-configure

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/math/libgmp4/Makefile math/libgmp4/Makefile
--- /usr/ports/math/libgmp4/Makefile	Tue Jun 25 19:26:48 2002
+++ math/libgmp4/Makefile	Fri Jul 19 07:37:24 2002
@@ -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 @@
 
 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 -urN /usr/ports/math/libgmp4/files/patch-configure math/libgmp4/files/patch-configure
--- /usr/ports/math/libgmp4/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ math/libgmp4/files/patch-configure	Fri Jul 19 05:02:42 2002
@@ -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 -urN /usr/ports/math/libgmp4/pkg-comment math/libgmp4/pkg-comment
--- /usr/ports/math/libgmp4/pkg-comment	Tue Jun  5 14:22:15 2001
+++ math/libgmp4/pkg-comment	Fri Jul 19 04:57:54 2002
@@ -1 +1 @@
-GMP is a free library for arbitrary precision arithmetic
+A free library for arbitrary precision arithmetic
diff -urN /usr/ports/math/libgmp4/pkg-plist math/libgmp4/pkg-plist
--- /usr/ports/math/libgmp4/pkg-plist	Tue Jun 25 19:26:49 2002
+++ math/libgmp4/pkg-plist	Fri Jul 19 07:38:19 2002
@@ -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-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

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207200022.g6K0MmiG003486>