summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-02-09 22:39:50 +0000
committeradrianp <adrianp@pkgsrc.org>2008-02-09 22:39:50 +0000
commit2f2044d6d62625c8715717457dc6fd4129fb2fd3 (patch)
treedabb04cddaee6784fe34b74dd934a1182ca2c915 /math
parent7c4be142c842aa86902ac5ea6ce40c01eeffe6b2 (diff)
downloadpkgsrc-2f2044d6d62625c8715717457dc6fd4129fb2fd3.tar.gz
Update to 2.010709
Accomodate Darwin $AS which tries to read from STDIN. On darwin, diagnoze arch via uname -p. (SIGBUS during build) Update find_machine_architecture() to 2.3.0 logic (so disable sparcv7) Make getHeap() use PerlIO, and consistently use bytes for output.
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Pari/Makefile4
-rw-r--r--math/p5-Math-Pari/distinfo11
-rw-r--r--math/p5-Math-Pari/patches/patch-ab62
3 files changed, 39 insertions, 38 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 23552bfa79a..baeb1c33901 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2007/11/22 09:25:45 abs Exp $
+# $NetBSD: Makefile,v 1.29 2008/02/09 22:39:50 adrianp Exp $
#
-DISTNAME= Math-Pari-2.010703
+DISTNAME= Math-Pari-2.010709
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index 6ad69386ad0..6a29ef20853 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.9 2007/10/14 08:08:53 obache Exp $
+$NetBSD: distinfo,v 1.10 2008/02/09 22:39:50 adrianp Exp $
-SHA1 (Math-Pari-2.010703.tar.gz) = 6634d36a7698957493f77ec5acb18c3091ae4c5f
-RMD160 (Math-Pari-2.010703.tar.gz) = cf9ca6c8b6b154ca8f56d1f341c8d76f2142cf9e
-Size (Math-Pari-2.010703.tar.gz) = 108591 bytes
+SHA1 (Math-Pari-2.010709.tar.gz) = 91bc43315decb34512c41c3cd9136d8b86f6ee48
+RMD160 (Math-Pari-2.010709.tar.gz) = d857076dec295a2e3b2c6b7dd98055d31c443bf6
+Size (Math-Pari-2.010709.tar.gz) = 113280 bytes
SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
Size (pari-2.1.6.tgz) = 1541464 bytes
-SHA1 (patch-ab) = 985b0c43128fc1f587bf25f7f2b57f6c8bf3793f
+SHA1 (patch-ab) = 1368bc9e8391786ca800e35bb640fd36b4fbf44a
+SHA1 (patch-ab.old) = 985b0c43128fc1f587bf25f7f2b57f6c8bf3793f
SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
diff --git a/math/p5-Math-Pari/patches/patch-ab b/math/p5-Math-Pari/patches/patch-ab
index 7faf9cac788..75d90e0dd21 100644
--- a/math/p5-Math-Pari/patches/patch-ab
+++ b/math/p5-Math-Pari/patches/patch-ab
@@ -1,38 +1,38 @@
-$NetBSD: patch-ab,v 1.4 2006/02/14 22:52:15 heinz Exp $
+$NetBSD: patch-ab,v 1.5 2008/02/09 22:39:50 adrianp Exp $
---- utils/Math/PariBuild.pm.orig 2006-01-31 21:51:44.000000000 +0100
+--- utils/Math/PariBuild.pm.orig 2006-10-25 21:28:06.000000000 +0100
+++ utils/Math/PariBuild.pm
-@@ -699,7 +699,7 @@ sub find_machine_architecture () {
- $machine = 'irix';
- } elsif ($os =~ /^hp/) {
- $machine = `uname -m` || 'hppa';
+@@ -768,7 +768,7 @@ sub find_machine_architecture () {
+ } elsif ($machine ne 'ia64') {
+ $machine = 'hppa';
+ }
- } elsif ($os eq 'os2' or $os eq 'netbsd'
+ } elsif ($os eq 'os2' or $os eq 'dragonfly'
or $os eq 'freebsd' or $os =~ /^cygwin/) {
chomp($machine = `uname -m`);
$machine ||= 'ix86';
-@@ -742,6 +742,24 @@ sub find_machine_architecture () {
- } elsif ((split ' ', $Config{myuname})[3] eq 'sun') {
- $machine = 'm86k';
- }
-+ } elsif ($os eq 'netbsd') {
-+ chomp($machine = `uname -p`);
-+ if ($machine =~ 'arm.*') {
-+ $machine='arm';
-+ } elsif ($machine = 'i386') {
-+ $machine='ix86';
-+ } elsif ($machine =~ 'mips.*') {
-+ $machine='mips';
-+ } elsif ($machine = 'powerpc') {
-+ $machine='ppc';
-+ } elsif ($machine =~ 'sh3.*') {
-+ $machine='sh3';
-+ } elsif ($machine =~ 'sh5.*') {
-+ $machine='sh5';
-+ } elsif ($machine = 'sparc64') {
-+ $machine='sparcv9';
-+ }
-+ # these can be used verbatim: alpha amd64 m68k sparc vax
- } elsif ($os eq 'gnu') {
- chomp($machine = `uname -m`);
- $machine = 'ix86' if $machine =~ /^i386-/;
+@@ -820,6 +820,24 @@ sub find_machine_architecture () {
+ $machine = 'ix86';
+ } elsif ((split ' ', $Config{myuname})[3] eq 'sun') {
+ $machine = 'm86k';
++ } elsif ($os eq 'netbsd') {
++ chomp($machine = `uname -p`);
++ if ($machine =~ 'arm.*') {
++ $machine='arm';
++ } elsif ($machine = 'i386') {
++ $machine='ix86';
++ } elsif ($machine =~ 'mips.*') {
++ $machine='mips';
++ } elsif ($machine = 'powerpc') {
++ $machine='ppc';
++ } elsif ($machine =~ 'sh3.*') {
++ $machine='sh3';
++ } elsif ($machine =~ 'sh5.*') {
++ $machine='sh5';
++ } elsif ($machine = 'sparc64') {
++ $machine='sparcv9';
++ }
++ # these can be used verbatim: alpha amd64 m68k sparc vax
+ } elsif ($redo++ == 0) {
+ $type = `uname -m`;
+ redo find_machine;