summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-08-16 13:33:07 +0000
committerhe <he@pkgsrc.org>2009-08-16 13:33:07 +0000
commitab087e0db52ec1b6a0688907aa35479e922eff90 (patch)
tree7374e159cb1f8707bc3a855e66fc754dbef5677d /math/p5-Math-Pari
parenteb21abc719fbbb50420bfed323ffdbd615dfe282 (diff)
downloadpkgsrc-ab087e0db52ec1b6a0688907aa35479e922eff90.tar.gz
Update from version 2.010801nb1 to 2.010801nb2.
Pkgsrc changes: o Re-do patch-ab so that this package actually builds on hosts other than arm and i386. ('eq' instead of '=' is the bug...)
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/Makefile4
-rw-r--r--math/p5-Math-Pari/distinfo4
-rw-r--r--math/p5-Math-Pari/patches/patch-ab15
3 files changed, 13 insertions, 10 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 94ebd8e374c..f1968459afd 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2009/03/05 23:12:51 seb Exp $
+# $NetBSD: Makefile,v 1.35 2009/08/16 13:33:07 he Exp $
#
DISTNAME= Math-Pari-2.010801
-PKGREVISION= 1
+PKGREVISION= 2
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index a1afd216bd9..b7131062e35 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2009/03/05 23:12:51 seb Exp $
+$NetBSD: distinfo,v 1.14 2009/08/16 13:33:07 he Exp $
SHA1 (Math-Pari-2.010801.tar.gz) = 9becc6cbbb80983408de7b3f33e7f19a8015cc34
RMD160 (Math-Pari-2.010801.tar.gz) = 72af931cd38b3d2e7bb158bbbe6221292dfe07e1
@@ -7,6 +7,6 @@ SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
Size (pari-2.1.6.tgz) = 1541464 bytes
SHA1 (patch-aa) = 0260c0c980ccb11bcad7c744a37de990ffcb70cd
-SHA1 (patch-ab) = 87843977a706b6e1b525f7b977599c3149d04557
+SHA1 (patch-ab) = 2a8fa083962782dd498a72fbd7901636592bfc1b
SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
SHA1 (patch-ad) = 6e7ff863f35d9c4c877c180a22935fb9852939b9
diff --git a/math/p5-Math-Pari/patches/patch-ab b/math/p5-Math-Pari/patches/patch-ab
index f01d0ab1a1c..15559865665 100644
--- a/math/p5-Math-Pari/patches/patch-ab
+++ b/math/p5-Math-Pari/patches/patch-ab
@@ -1,7 +1,10 @@
-$NetBSD: patch-ab,v 1.6 2009/02/22 13:11:39 he Exp $
+$NetBSD: patch-ab,v 1.7 2009/08/16 13:33:07 he Exp $
---- utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100
-+++ utils/Math/PariBuild.pm
+Improve detection of various processor types on netbsd.
+Treat DragonFly the same as FreeBSD.
+
+--- ./utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100
++++ ./utils/Math/PariBuild.pm
@@ -779,7 +779,7 @@ sub find_machine_architecture () {
} elsif ($machine ne 'ia64') {
$machine = 'hppa';
@@ -19,17 +22,17 @@ $NetBSD: patch-ab,v 1.6 2009/02/22 13:11:39 he Exp $
+ chomp($machine = `uname -p`);
+ if ($machine =~ 'arm.*') {
+ $machine='arm';
-+ } elsif ($machine = 'i386') {
++ } elsif ($machine eq 'i386') {
+ $machine='ix86';
+ } elsif ($machine =~ 'mips.*') {
+ $machine='mips';
-+ } elsif ($machine = 'powerpc') {
++ } elsif ($machine eq 'powerpc') {
+ $machine='ppc';
+ } elsif ($machine =~ 'sh3.*') {
+ $machine='sh3';
+ } elsif ($machine =~ 'sh5.*') {
+ $machine='sh5';
-+ } elsif ($machine = 'sparc64') {
++ } elsif ($machine eq 'sparc64') {
+ $machine='sparcv9';
+ }
+ # these can be used verbatim: alpha amd64 m68k sparc vax