From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 15 10:00:32 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C736237B401 for ; Thu, 15 May 2003 10:00:32 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFA0243F75 for ; Thu, 15 May 2003 10:00:31 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4FH0VUp094894 for ; Thu, 15 May 2003 10:00:31 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4FH0Vmu094893; Thu, 15 May 2003 10:00:31 -0700 (PDT) Resent-Date: Thu, 15 May 2003 10:00:31 -0700 (PDT) Resent-Message-Id: <200305151700.h4FH0Vmu094893@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mathieu Arnold Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0269437B404 for ; Thu, 15 May 2003 09:55:24 -0700 (PDT) Received: from mx3.absolight.com (mx3.absolight.net [212.43.217.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id B18D243FA3 for ; Thu, 15 May 2003 09:55:22 -0700 (PDT) (envelope-from mat@aragorn.reaumur.absolight.net) Received: by mx3.absolight.com (Postfix, from userid 1007) id A37812A36; Thu, 15 May 2003 18:55:21 +0200 (CEST) Received: from aragorn.reaumur.absolight.net (aragorn.reaumur.absolight.net [212.43.217.58]) by mx3.absolight.com (Postfix) with ESMTP id 235042A2E; Thu, 15 May 2003 18:55:21 +0200 (CEST) Received: by aragorn.reaumur.absolight.net (Postfix, from userid 1000) id 825E181FE; Thu, 15 May 2003 18:55:19 +0200 (CEST) Message-Id: <20030515165519.825E181FE@aragorn.reaumur.absolight.net> Date: Thu, 15 May 2003 18:55:19 +0200 (CEST) From: Mathieu Arnold To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: m@absolight.net Subject: ports/52292: (update) math/p5-Math-GMP to 2.03 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mathieu Arnold List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2003 17:00:33 -0000 >Number: 52292 >Category: ports >Synopsis: (update) math/p5-Math-GMP to 2.03 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu May 15 10:00:31 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mathieu Arnold >Release: FreeBSD 4.8-RELEASE i386 >Organization: Absolight >Environment: System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386 >Description: Update to 2.03 Grab maintainership Now uses gmp.6 from ports. >How-To-Repeat: >Fix: the patch was removed, don't forget the cvs rm :) --- p5-Math-GMP-2.03.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/math/p5-Math-GMP/Makefile,v retrieving revision 1.7 diff -u -b -w -r1.7 Makefile --- Makefile 2003/02/20 18:42:21 1.7 +++ Makefile 2003/05/15 16:53:37 @@ -6,27 +6,24 @@ # PORTNAME= Math-GMP -PORTVERSION= 1.07 +PORTVERSION= 2.03 CATEGORIES= math perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Math PKGNAMEPREFIX= p5- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= m@absolight.net COMMENT= Perl module that provides an interface to the GMP library -.include +LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 -.if ${OSVERSION} >= 500000 -LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4 -CONFIGURE_ENV+= GMP=${LOCALBASE} -.else -CONFIGURE_ENV+= GMP=/usr -.endif - PERL_CONFIGURE= yes -MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Math::GMP.3 + +post-patch: + @${PERL} -pi -e "s!-lgmp!-L${LOCALBASE}/lib $$&!;" \ + -e "if (/LIBS/) { print qq!'INC' => '-I${LOCALBASE}/include',!; }" \ + ${WRKSRC}/Makefile.PL -.include +.include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/math/p5-Math-GMP/distinfo,v retrieving revision 1.2 diff -u -b -w -r1.2 distinfo --- distinfo 2001/05/10 01:20:52 1.2 +++ distinfo 2003/05/15 16:53:37 @@ -1 +1 @@ -MD5 (Math-GMP-1.07.tar.gz) = 385022cd0af5de7d8ea999d3573d997d +MD5 (Math-GMP-2.03.tar.gz) = cf653ffa60607717ff4fc67177ee07b0 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/math/p5-Math-GMP/pkg-plist,v retrieving revision 1.2 diff -u -b -w -r1.2 pkg-plist --- pkg-plist 2001/04/14 22:31:39 1.2 +++ pkg-plist 2003/05/15 16:53:37 @@ -1,8 +1,8 @@ -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math/GMP.pm -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/.packlist -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.bs -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.so -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP/autosplit.ix -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math/GMP -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true -@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/Math 2>/dev/null || true +%%SITE_PERL%%/%%PERL_ARCH%%/Math/GMP.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMP/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMP/GMP.so +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMP/autosplit.ix +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Math/GMP +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Math 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Math 2>/dev/null || true Index: files/patch-Makefile.PL =================================================================== RCS file: patch-Makefile.PL diff -N patch-Makefile.PL --- /cvstmp/cvseQnKmY8tUV Thu May 15 11:53:37 2003 +++ /dev/null Thu May 15 03:22:21 2003 @@ -1,25 +0,0 @@ ---- Makefile.PL.orig Wed Nov 27 10:18:38 2002 -+++ Makefile.PL Wed Nov 27 10:50:17 2002 -@@ -6,6 +6,8 @@ - my $tar = (grep { -x "$_/tar" } @paths)[0] . "/tar"; - my $gzip = (grep { -x "$_/gzip" } @paths)[0] . "/gzip"; - -+# FreeBSD has GMP in the base system or ports -+if ("" ne "" ) { - my $cmd = "$gzip -dc gmp-2.0.2.tar.gz | $tar xf -"; - system $cmd unless -d 'gmp-2.0.2'; - die "tar extraction of gmp-2.0.2.tar.gz failed" unless -d 'gmp-2.0.2'; -@@ -13,11 +15,12 @@ - chdir 'gmp-2.0.2'; - system "./configure --prefix=../gmp && make && make install"; - chdir '..'; -+} - - WriteMakefile( - 'NAME' => 'Math::GMP', - 'VERSION_FROM' => 'GMP.pm', # finds $VERSION - 'LIBS' => ['-Lgmp/lib -lgmp'], # e.g., '-lm' - 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' -- 'INC' => '-I$(PREFIX)', # e.g., '-I/usr/include/other' -+ 'INC' => '-I'.$ENV{"GMP"}.'/include', # e.g., '-I/usr/include/other' - ); --- p5-Math-GMP-2.03.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: