summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-04-12 02:51:22 +0000
committerjschauma <jschauma>2004-04-12 02:51:22 +0000
commitadd481d4d09581525fa9fccc1f677681ee05d251 (patch)
tree6de9c896130bf4626f99d887a33a75bb5411747b /lang/perl5
parent78c0a08fcc949d0b416e79d4a6ef760e1c1ebf8e (diff)
downloadpkgsrc-add481d4d09581525fa9fccc1f677681ee05d251.tar.gz
Make this build under Irix with mipspro compilers:
MIPSPro compiler/preprocessor behaves differently if invoked on stdin vs file. In configure, we test for stdin, but lateron we use files. So force it to work the way we know it does.
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/distinfo3
-rw-r--r--lang/perl5/patches/patch-ca21
2 files changed, 23 insertions, 1 deletions
diff --git a/lang/perl5/distinfo b/lang/perl5/distinfo
index d2536a75b7b..9a45064ca5e 100644
--- a/lang/perl5/distinfo
+++ b/lang/perl5/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2004/01/13 01:08:57 jlam Exp $
+$NetBSD: distinfo,v 1.20 2004/04/12 02:51:22 jschauma Exp $
SHA1 (perl-5.6.1.tar.gz) = c718b38685f90d51a9a6b1b008de0d7d198c0744
Size (perl-5.6.1.tar.gz) = 5983695 bytes
@@ -15,3 +15,4 @@ SHA1 (patch-am) = 57af2f39327951e321fcb6985aa2d74c090278c6
SHA1 (patch-ba) = c30dbcbcd72896c324ad18c4adb3304a340c379f
SHA1 (patch-bb) = 7aa35848111a62c608e792f025b7095513d7041b
SHA1 (patch-bc) = 6f3c2a279065872f836a9d7bb79d127975227952
+SHA1 (patch-ca) = a8ce3508d1dbe1c40321b7262f5bf2320bcd9c04
diff --git a/lang/perl5/patches/patch-ca b/lang/perl5/patches/patch-ca
new file mode 100644
index 00000000000..493d7cb08c6
--- /dev/null
+++ b/lang/perl5/patches/patch-ca
@@ -0,0 +1,21 @@
+$NetBSD: patch-ca,v 1.1 2004/04/12 02:51:22 jschauma Exp $
+
+--- Configure.orig Fri Mar 26 10:34:43 2004
++++ Configure Fri Mar 26 10:43:17 2004
+@@ -12495,7 +12495,15 @@
+ ACAT(Cir,cus)
+ EOCP
+ $cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
+-if $contains 'Circus' cpp_stuff.out >/dev/null 2>&1; then
++# yuck, what a hack.
++# MIPSPro compiler/preprocessor behaves differently if invoked on
++# stdin vs file. Here we test for stdin, but lateron we use files.
++# So force it to work the way we know it does:
++if [ x"${OPSYS}" = x"IRIX" ]; then
++ echo "Hacking MIPSPro on file vs. stdin..." >&4
++ echo "We know we can catify or stringify, separately or together!"
++ cpp_stuff=42
++elif $contains 'Circus' cpp_stuff.out >/dev/null 2>&1; then
+ echo "Oh! Smells like ANSI's been here." >&4
+ echo "We can catify or stringify, separately or together!"
+ cpp_stuff=42