summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-03-22 12:01:07 +0000
committerwiz <wiz@pkgsrc.org>2004-03-22 12:01:07 +0000
commit6f1192c68291b99066dc70f28e0085f907b45bfe (patch)
treeff8ce2b4689bd6461042533dd9eca5996d7b6f16 /math/p5-Math-Pari
parentfb571abaf3a23ef6d0b670d536572acbed2abe18 (diff)
downloadpkgsrc-6f1192c68291b99066dc70f28e0085f907b45bfe.tar.gz
Scalars in perl are preceded by a `$'.
perl-5.8.3 correctly complains if it is not so. Fix patch-ab so that this package builds with perl-5.8.3 too.
Diffstat (limited to 'math/p5-Math-Pari')
-rw-r--r--math/p5-Math-Pari/distinfo4
-rw-r--r--math/p5-Math-Pari/patches/patch-ab16
2 files changed, 10 insertions, 10 deletions
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index e2e109dd2b2..b8cc89a1e51 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2004/02/22 22:04:54 heinz Exp $
+$NetBSD: distinfo,v 1.4 2004/03/22 12:01:07 wiz Exp $
SHA1 (Math-Pari-2.010501.tar.gz) = 61ba9cde47a624dfae562360b4e16f34409f4024
Size (Math-Pari-2.010501.tar.gz) = 96680 bytes
-SHA1 (patch-ab) = 7ec7307b387685abed22b2bfc2db6a84a0532f55
+SHA1 (patch-ab) = 8f3b735e5c3f72d427d05c1ce9b42a5cdadc6978
diff --git a/math/p5-Math-Pari/patches/patch-ab b/math/p5-Math-Pari/patches/patch-ab
index 30268304671..5b4944dd6c9 100644
--- a/math/p5-Math-Pari/patches/patch-ab
+++ b/math/p5-Math-Pari/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1 2004/02/22 22:04:54 heinz Exp $
+$NetBSD: patch-ab,v 1.2 2004/03/22 12:01:07 wiz Exp $
--- utils/Math/PariBuild.pm.orig Sun Feb 1 10:30:06 2004
+++ utils/Math/PariBuild.pm
@@ -9,19 +9,19 @@ $NetBSD: patch-ab,v 1.1 2004/02/22 22:04:54 heinz Exp $
+ } elsif ($os eq 'netbsd') {
+ chomp($machine = `uname -p`);
+ if ($machine =~ 'arm.*') {
-+ machine='arm';
++ $machine='arm';
+ } elsif ($machine = 'i386') {
-+ machine='ix86';
++ $machine='ix86';
+ } elsif ($machine =~ 'mips.*') {
-+ machine='mips';
++ $machine='mips';
+ } elsif ($machine = 'powerpc') {
-+ machine='ppc';
++ $machine='ppc';
+ } elsif ($machine =~ 'sh3.*') {
-+ machine='sh3';
++ $machine='sh3';
+ } elsif ($machine =~ 'sh5.*') {
-+ machine='sh5';
++ $machine='sh5';
+ } elsif ($machine = 'sparc64') {
-+ machine='sparcv9';
++ $machine='sparcv9';
+ }
+ # these can be used verbatim: alpha amd64 m68k sparc vax
}