summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2006-06-03 18:08:15 +0000
committerGuy Martin <gmsoft@gentoo.org>2006-06-03 18:08:15 +0000
commit7a8915a0dc4fa377ce21c449354cab4b6afe44c5 (patch)
treeab7aaec6ee41cad614e79e0e6670772919c688f4 /dev-lang/perl/files
parentFixed wrong comparision for PYTHON_SLOT_VERSION and added support for 2.3 (diff)
downloadgentoo-2-7a8915a0dc4fa377ce21c449354cab4b6afe44c5.tar.gz
gentoo-2-7a8915a0dc4fa377ce21c449354cab4b6afe44c5.tar.bz2
gentoo-2-7a8915a0dc4fa377ce21c449354cab4b6afe44c5.zip
On PA7200, uname -a contains a single quote and we need to filter it otherwise configure fails. See #125535.
(Portage version: 2.1_rc3-r5)
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r--dev-lang/perl/files/perl-hppa-pa7200-configure.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/perl/files/perl-hppa-pa7200-configure.patch b/dev-lang/perl/files/perl-hppa-pa7200-configure.patch
new file mode 100644
index 000000000000..396209af112b
--- /dev/null
+++ b/dev-lang/perl/files/perl-hppa-pa7200-configure.patch
@@ -0,0 +1,11 @@
+--- Configure.orig 2006-06-02 13:14:22.000000000 -0500
++++ Configure 2006-06-02 13:07:03.000000000 -0500
+@@ -2967,7 +2967,7 @@
+ : Try to determine whether config.sh was made on this system
+ case "$config_sh" in
+ '')
+-myuname=`$uname -a 2>/dev/null`
++myuname=`$uname -a | $sed -e "s/'//" 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.