Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jul 2006 20:40:17 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org, mharo@FreeBSD.org
Subject:   ports/100087: [PATCH] math/p5-Math-Pari: update to 2.010706
Message-ID:  <20060711124017.7570662D@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607111250.k6BCoIn9069957@freefall.freebsd.org>

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

>Number:         100087
>Category:       ports
>Synopsis:       [PATCH] math/p5-Math-Pari: update to 2.010706
>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:   Tue Jul 11 12:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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