From: grommel@sears.com Date: Mon, 29 Sep 2003 14:45:16 +0000 (-0500) Subject: Re: NCR MP-RAS perl problems [perl #23791] X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cd512f8e422432e2054f6755a2d319f1aa0e9333;p=p5sagit%2Fp5-mst-13.2.git Re: NCR MP-RAS perl problems [perl #23791] Message-ID: p4raw-id: //depot/perl@21390 --- diff --git a/hints/svr4.sh b/hints/svr4.sh index c781686..cbc2d95 100644 --- a/hints/svr4.sh +++ b/hints/svr4.sh @@ -156,12 +156,14 @@ if test -f /etc/issue -a -f /etc/.relid; then # libcrypt contains nothing libc wouldn't have. libswanted=`echo " $libswanted " | sed -e 's/ crypt / /'` # With the NCR High Performance C Compiler R3.0c, miniperl fails - # t/op/regexp.t test 461 unless we compile with optimize=-g. + # t/op/regexp.t test 461 unless we compile with optimize=-O0. # Volunteers are needed to determine just which files need special - # treatment. For now, use optimize=-g for everything. + # treatment. For now, use optimize=-O0 for everything. # + d_usleep='undef' + d_ualarm='undef' case "$optimize" in - '') optimize='-g' ;; + '') optimize='-O0' ;; esac fi diff --git a/t/op/pack.t b/t/op/pack.t index 00e8609..6e3d6e4 100755 --- a/t/op/pack.t +++ b/t/op/pack.t @@ -189,7 +189,7 @@ sub list_eq ($$) { || ($^O eq 'ultrix') || - ($^O eq 'svr4' && -f "/etc/issue" && -f "/etc/.relid") # NCR MP-RAS + ($^O =~ /^svr4/ && -f "/etc/issue" && -f "/etc/.relid") # NCR MP-RAS ); my $inf = eval '2**10000';