summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElfyn McBratney <beu@gentoo.org>2005-09-04 11:49:15 +0000
committerElfyn McBratney <beu@gentoo.org>2005-09-04 11:49:15 +0000
commitb903fe6974dd8b438b615139afde9d77e908eaff (patch)
tree68e840bcfaacad031eee00aa9d140cf9498b1f29 /dev-lang/perl/files
parentMarked ~sparc. (diff)
downloadhistorical-b903fe6974dd8b438b615139afde9d77e908eaff.tar.gz
historical-b903fe6974dd8b438b615139afde9d77e908eaff.tar.bz2
historical-b903fe6974dd8b438b615139afde9d77e908eaff.zip
Fix patch to cflags.SH (don't assume /bin/sh is bash).
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'dev-lang/perl/files')
-rw-r--r--dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch b/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch
index f06e9ec93b31..d0357cd50629 100644
--- a/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch
+++ b/dev-lang/perl/files/perl-5.8.7-regexp-nossp.patch
@@ -4,8 +4,8 @@
esac
: Can we perhaps use $ansi2knr here
-+ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
-+ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
++ [ "x$file" = xregcomp ] && export ccflags="${ccflags} -fno-stack-protector"
++ [ "x$file" = xregexec ] && export ccflags="${ccflags} -fno-stack-protector"
echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'