diff options
author | apb <apb@pkgsrc.org> | 2013-01-24 18:23:51 +0000 |
---|---|---|
committer | apb <apb@pkgsrc.org> | 2013-01-24 18:23:51 +0000 |
commit | 2fcd73d3a0893dd73bd6253c3805527df53cb457 (patch) | |
tree | a3c73c9abb86ed4c56f43de90f8ada296cb0440b /lang/perl5/patches | |
parent | 6bcfd142f4923cdcc6c288a585130cd88df1f908 (diff) | |
download | pkgsrc-2fcd73d3a0893dd73bd6253c3805527df53cb457.tar.gz |
Don't be confused by '=' in output from "uname -a".
PR pkg/45814, also reported upstream at
<https://rt.perl.org/rt3/Public/Bug/Display.html?id=116523>.
Not bumping PKGREVISION because there should be no change in
the resulting package, on systems where the build was successful.
Diffstat (limited to 'lang/perl5/patches')
-rw-r--r-- | lang/perl5/patches/patch-ca | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/lang/perl5/patches/patch-ca b/lang/perl5/patches/patch-ca index 926dd4f160b..c640897aa1a 100644 --- a/lang/perl5/patches/patch-ca +++ b/lang/perl5/patches/patch-ca @@ -1,7 +1,26 @@ -$NetBSD: patch-ca,v 1.12 2012/10/03 19:59:47 adam Exp $ +$NetBSD: patch-ca,v 1.13 2013/01/24 18:23:51 apb Exp $ ---- Configure.orig 2012-08-03 17:35:26.000000000 +0000 +* Don't be confused by '=' in output from "uname -a". + PR pkg/45814, also reported upstream at + <https://rt.perl.org/rt3/Public/Bug/Display.html?id=116523>. + +* Use "uname -r" to get OS version for *BSD. + +* Move $loclibpth to the end of $dlist, instead of the beginning. + +* Several other changes. + +--- Configure.orig 2012-10-26 02:44:14.000000000 +0000 +++ Configure +@@ -3099,7 +3099,7 @@ myuname=`$uname -a 2>/dev/null` + $test -z "$myuname" && myuname=`hostname 2>/dev/null` + # tr '[A-Z]' '[a-z]' would not work in EBCDIC + # because the A-Z/a-z are not consecutive. +-myuname=`echo $myuname | $sed -e 's/^[^=]*=//' -e "s,['/],,g" | \ ++myuname=`echo $myuname | $sed -e 's/^[^= ]*=//' -e "s,['/],,g" | \ + ./tr '[A-Z]' '[a-z]' | $tr $trnl ' '` + newmyuname="$myuname" + dflt=n @@ -3265,13 +3265,14 @@ EOM osvers="$3" ;; |