pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Make this build under Irix with mipspro com...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b209de2a4ffa
branches: trunk
changeset: 472758:b209de2a4ffa
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Mon Apr 12 02:51:22 2004 +0000
description:
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:
lang/perl5/distinfo | 3 ++-
lang/perl5/patches/patch-ca | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 4014a8224b7f -r b209de2a4ffa lang/perl5/distinfo
--- a/lang/perl5/distinfo Mon Apr 12 02:41:59 2004 +0000
+++ b/lang/perl5/distinfo Mon Apr 12 02:51:22 2004 +0000
@@ -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-ba) = c30dbcbcd72896c324ad18c4adb3304a340c379f
SHA1 (patch-bb) = 7aa35848111a62c608e792f025b7095513d7041b
SHA1 (patch-bc) = 6f3c2a279065872f836a9d7bb79d127975227952
+SHA1 (patch-ca) = a8ce3508d1dbe1c40321b7262f5bf2320bcd9c04
diff -r 4014a8224b7f -r b209de2a4ffa lang/perl5/patches/patch-ca
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/patches/patch-ca Mon Apr 12 02:51:22 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index