diff options
author | jschauma <jschauma@pkgsrc.org> | 2004-04-12 02:59:06 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2004-04-12 02:59:06 +0000 |
commit | 0444cb314dc6a66629310dd82cce17d3e1c74cc2 (patch) | |
tree | 82450678852682589dad01fdf71171f06b6ca960 /lang/perl58 | |
parent | 2e469426f74768dd1265c4a81016a29a22593f4d (diff) | |
download | pkgsrc-0444cb314dc6a66629310dd82cce17d3e1c74cc2.tar.gz |
As with lang/perl5:
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/perl58')
-rw-r--r-- | lang/perl58/distinfo | 3 | ||||
-rw-r--r-- | lang/perl58/patches/patch-ca | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/lang/perl58/distinfo b/lang/perl58/distinfo index 859eee9cc99..f7be7a1d1b1 100644 --- a/lang/perl58/distinfo +++ b/lang/perl58/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2004/02/10 01:59:54 jlam Exp $ +$NetBSD: distinfo,v 1.13 2004/04/12 02:59:06 jschauma Exp $ SHA1 (perl-5.8.3.tar.gz) = 4c6f2aaa1b3a1d44535a1b54738d494e8fb90222 Size (perl-5.8.3.tar.gz) = 12002329 bytes @@ -7,4 +7,5 @@ SHA1 (patch-ae) = fa3bbb1561192ce9214a7a7c756ccb2595a52c80 SHA1 (patch-ah) = 06fbeac7ed4eaf0099bad4404203bdd67576f33f SHA1 (patch-ba) = cdceb712bae08c6041e5aa175e5989d48b3a3f4e SHA1 (patch-bc) = 6bd07e902563079dd5642eac321ca7f9271ab8a6 +SHA1 (patch-ca) = a8ce3508d1dbe1c40321b7262f5bf2320bcd9c04 SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977 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 |