diff options
Diffstat (limited to 'lang/perl58/patches/patch-ca')
-rw-r--r-- | lang/perl58/patches/patch-ca | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/perl58/patches/patch-ca b/lang/perl58/patches/patch-ca new file mode 100644 index 00000000000..1aee833fc3f --- /dev/null +++ b/lang/perl58/patches/patch-ca @@ -0,0 +1,21 @@ +$NetBSD: patch-ca,v 1.1 2004/04/12 02:59:06 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 |