pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl58 As with lang/perl5:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fe7b3e4c02a0
branches:  trunk
changeset: 472759:fe7b3e4c02a0
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Mon Apr 12 02:59:06 2004 +0000

description:
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:

 lang/perl58/distinfo         |   3 ++-
 lang/perl58/patches/patch-ca |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r b209de2a4ffa -r fe7b3e4c02a0 lang/perl58/distinfo
--- a/lang/perl58/distinfo      Mon Apr 12 02:51:22 2004 +0000
+++ b/lang/perl58/distinfo      Mon Apr 12 02:59:06 2004 +0000
@@ -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-ah) = 06fbeac7ed4eaf0099bad4404203bdd67576f33f
 SHA1 (patch-ba) = cdceb712bae08c6041e5aa175e5989d48b3a3f4e
 SHA1 (patch-bc) = 6bd07e902563079dd5642eac321ca7f9271ab8a6
+SHA1 (patch-ca) = a8ce3508d1dbe1c40321b7262f5bf2320bcd9c04
 SHA1 (patch-zc) = eb81edd1144ec46285898afc641c03a3aad54977
diff -r b209de2a4ffa -r fe7b3e4c02a0 lang/perl58/patches/patch-ca
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl58/patches/patch-ca      Mon Apr 12 02:59:06 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index