From 2e469426f74768dd1265c4a81016a29a22593f4d Mon Sep 17 00:00:00 2001 From: jschauma Date: Mon, 12 Apr 2004 02:51:22 +0000 Subject: 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. --- lang/perl5/distinfo | 3 ++- lang/perl5/patches/patch-ca | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 lang/perl5/patches/patch-ca (limited to 'lang') 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.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 -- cgit v1.2.3