From gslin@netnews.NCTU.edu.tw  Tue Jul 11 12:40:22 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 62E5C16A4DA;
	Tue, 11 Jul 2006 12:40:22 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ECD4E43D45;
	Tue, 11 Jul 2006 12:40:21 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id 7570662D; Tue, 11 Jul 2006 20:40:17 +0800 (CST)
Message-Id: <20060711124017.7570662D@netnews.NCTU.edu.tw>
Date: Tue, 11 Jul 2006 20:40:17 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: mharo@FreeBSD.org, gslin@gslin.org
Subject: [PATCH] math/p5-Math-Pari: update to 2.010706
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         100087
>Category:       ports
>Synopsis:       [PATCH] math/p5-Math-Pari: update to 2.010706
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mharo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 11 12:50:18 GMT 2006
>Closed-Date:    Tue Jul 11 13:20:42 GMT 2006
>Last-Modified:  Tue Jul 11 13:20:42 GMT 2006
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 2.010706
- Compiling successful on both 4.11 (2.95.4) and 6.1 6.1 (3.4.4), so
  remove GCC 3.2 requirement.
- make clean will also clean math/pari according to BUILD_DEPENDS, so
  remove post-clean.
- Add @comment $FreeBSD$ to pkg-plist.

Added file(s):
- files/patch-Makefile.PL

Removed file(s):
- files/patch-makefile

Port maintainer (mharo@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Math-Pari-2.010706.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/p5-Math-Pari/Makefile /home/staff/gslin/work/p5-Math-Pari/Makefile
--- /usr/ports/math/p5-Math-Pari/Makefile	Tue Jul 11 19:07:42 2006
+++ /home/staff/gslin/work/p5-Math-Pari/Makefile	Tue Jul 11 20:33:51 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Math-Pari
-PORTVERSION=	2.010500
+PORTVERSION=	2.010706
 CATEGORIES=	math perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Math
@@ -17,8 +17,6 @@
 
 BUILD_DEPENDS=	pari:${PORTSDIR}/math/pari:configure
 
-USE_GMAKE=	yes
-USE_GCC=	3.2+
 PERL_CONFIGURE=	yes
 
 MAN3=		Math::Pari.3 Math::libPARI.3 \
@@ -31,8 +29,5 @@
 PARI_WRKSRC!=	cd ${PARI_PORTDIR} && ${MAKE} -V WRKSRC
 
 CONFIGURE_ARGS=	paridir=${PARI_WRKSRC}
-
-post-clean:
-	@cd ${PARI_PORTDIR} && ${MAKE} -DBATCH clean
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/math/p5-Math-Pari/distinfo /home/staff/gslin/work/p5-Math-Pari/distinfo
--- /usr/ports/math/p5-Math-Pari/distinfo	Sun Jan 22 20:56:37 2006
+++ /home/staff/gslin/work/p5-Math-Pari/distinfo	Tue Jul 11 19:17:34 2006
@@ -1,3 +1,3 @@
-MD5 (Math-Pari-2.010500.tar.gz) = 6ae5d0b044984a4fdc7817e79922419e
-SHA256 (Math-Pari-2.010500.tar.gz) = eea5b9918b4861274d48457b360310737755415f3200e080511ff19a57598676
-SIZE (Math-Pari-2.010500.tar.gz) = 91295
+MD5 (Math-Pari-2.010706.tar.gz) = 5ed1fb49f246288a9899fa6ad1b7753c
+SHA256 (Math-Pari-2.010706.tar.gz) = ba546277afcbb072a11e7dbe74f44bd233d86ee310ef43fa945ac20dfc79ea02
+SIZE (Math-Pari-2.010706.tar.gz) = 111692
diff -ruN --exclude=CVS /usr/ports/math/p5-Math-Pari/files/patch-Makefile.PL /home/staff/gslin/work/p5-Math-Pari/files/patch-Makefile.PL
--- /usr/ports/math/p5-Math-Pari/files/patch-Makefile.PL	Thu Jan  1 08:00:00 1970
+++ /home/staff/gslin/work/p5-Math-Pari/files/patch-Makefile.PL	Tue Jul 11 20:25:59 2006
@@ -0,0 +1,16 @@
+--- Makefile.PL.orig	Wed May 31 16:39:28 2006
++++ Makefile.PL	Tue Jul 11 20:25:33 2006
+@@ -125,11 +125,11 @@
+ my $pari_int_size = $Config{'ivsize'} || $Config{'intsize'}
+ 	or die "Can't deduce PARI int size";
+ 
+-$define .= ' -DLONG_SHORTER_THAN_IV' if $pari_int_size > $longsize;
+ 
+ $define .= ' -Derr=pari_err'; # On linux it can get a wrong dynamic loading
+ $define .= ' -DHAVE_LADD' if $opts{have_ladd};
+-$define .= ' -DGCC_INLINE' if $Config{gccversion} and not $Config{optimize} =~ /-g\b/;
++$define .= ' -O -DGCC_INLINE' if $Config{gccversion} and not $Config{optimize} =~ /-g\b/;
++$define .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
+ $define .= ' -DHAVE_PARIPRIV' if -f "$paridir/src/headers/paripriv.h";
+ $define .= ' -DNO_GRAPHICS_PARI' unless -f "$paridir/src/graph/plotgnuplot.c";
+ 
diff -ruN --exclude=CVS /usr/ports/math/p5-Math-Pari/files/patch-makefile /home/staff/gslin/work/p5-Math-Pari/files/patch-makefile
--- /usr/ports/math/p5-Math-Pari/files/patch-makefile	Tue Aug 26 13:30:07 2003
+++ /home/staff/gslin/work/p5-Math-Pari/files/patch-makefile	Thu Jan  1 08:00:00 1970
@@ -1,17 +0,0 @@
---- libPARI/Makefile.PL.orig	Thu Apr 24 05:23:32 2003
-+++ libPARI/Makefile.PL	Thu Aug 21 14:51:06 2003
-@@ -137,11 +137,13 @@
-   $mycflags .= " -DASMINLINE";
- }
--$mycflags .= ' -DGCC_INLINE' if $Config{gccversion};
-+$mycflags .= ' -O -DGCC_INLINE' if $Config{gccversion};
-+$mycflags .= " $ENV{CFLAGS} " if $ENV{CFLAGS};
- 
- @obj_files = map { "$_\$(OBJ_EXT)" } keys(%cfiles), qw(kernel mp mpinl);
- push @obj_files, 'kernel2$(OBJ_EXT)' if $kernel{converted2};
- 
- $mycflags .= " -DDYNAMIC_PLOTTING";
-+$mycflags .= " -DDL_DFLT_NAME=\\\"libpari.2.1.3\\\"";
- # OMF build needs no underscores:
- $mycflags .= " -D__NO_AOUT" if $^O eq 'os2' and !$OS2::is_aout;
- 
diff -ruN --exclude=CVS /usr/ports/math/p5-Math-Pari/pkg-plist /home/staff/gslin/work/p5-Math-Pari/pkg-plist
--- /usr/ports/math/p5-Math-Pari/pkg-plist	Sun Jan 22 10:26:19 2006
+++ /home/staff/gslin/work/p5-Math-Pari/pkg-plist	Tue Jul 11 20:17:34 2006
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
 %%SITE_PERL%%/%%PERL_ARCH%%/Math/Pari.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Math/PariInit.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/Math/libPARI.dumb.pod
--- p5-Math-Pari-2.010706.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mharo 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jul 11 12:50:29 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100087 

From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc: gslin@gslin.org
Subject: Re: ports/100087: [PATCH] math/p5-Math-Pari: update to 2.010706
Date: Tue, 11 Jul 2006 21:15:54 +0800

 This patch has some issues to solve, so please close it.
 
 Thank you.
 
 On Tue, Jul 11, 2006 at 12:50:18PM +0000, FreeBSD-gnats-submit@FreeBSD.org wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `ports/100087'.
 > The individual assigned to look at your
 > report is: freebsd-ports-bugs. 
 > 
 > You can access the state of your problem report at any time
 > via this link:
 > 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=100087
 > 
 > >Category:       ports
 > >Responsible:    freebsd-ports-bugs
 > >Synopsis:       [PATCH] math/p5-Math-Pari: update to 2.010706
 > >Arrival-Date:   Tue Jul 11 12:50:18 GMT 2006
 
 -- 
 * Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
 * If you cannot convince them, confuse them.           -- Harry S Truman
State-Changed-From-To: open->closed 
State-Changed-By: rafan 
State-Changed-When: Tue Jul 11 13:20:16 UTC 2006 
State-Changed-Why:  
Close at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=100087 
>Unformatted:
