pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Math-Pari Scalars in perl are preceded by a `$'.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c3a631869f02
branches:  trunk
changeset: 471237:c3a631869f02
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 22 12:01:07 2004 +0000

description:
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:

 math/p5-Math-Pari/distinfo         |   4 ++--
 math/p5-Math-Pari/patches/patch-ab |  16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (47 lines):

diff -r ac9de0371a9a -r c3a631869f02 math/p5-Math-Pari/distinfo
--- a/math/p5-Math-Pari/distinfo        Mon Mar 22 11:49:42 2004 +0000
+++ b/math/p5-Math-Pari/distinfo        Mon Mar 22 12:01:07 2004 +0000
@@ -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 -r ac9de0371a9a -r c3a631869f02 math/p5-Math-Pari/patches/patch-ab
--- a/math/p5-Math-Pari/patches/patch-ab        Mon Mar 22 11:49:42 2004 +0000
+++ b/math/p5-Math-Pari/patches/patch-ab        Mon Mar 22 12:01:07 2004 +0000
@@ -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 @@
 +  } 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
    }



Home | Main Index | Thread Index | Old Index