# HG changeset patch # User kupfer # Date 1176411521 25200 # Node ID 5fbe2f47bce24c7030173c608bce50541503fa89 # Parent da060775097edc85d45b1384a579f8d07a6282dc 6540124 RFE: OS/Net build could be slightly more portable Contributed by Roland Mainz . diff -r da060775097e -r 5fbe2f47bce2 usr/src/cmd/perl/5.6.1/extract_config.sh --- a/usr/src/cmd/perl/5.6.1/extract_config.sh Thu Apr 12 13:16:46 2007 -0700 +++ b/usr/src/cmd/perl/5.6.1/extract_config.sh Thu Apr 12 13:58:41 2007 -0700 @@ -1,7 +1,7 @@ #!/bin/ksh -p # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -76,7 +76,7 @@ printf 'PERL_POD_DIR = $(ROOT)%s/pod\n' $privlibexp # Compilation environment flags -printf 'KEEP_STATE_OFF = unset KEEP_STATE SUNPRO_DEPENDENCIES\n' +printf 'KEEP_STATE_OFF = unset KEEP_STATE SUNPRO_DEPENDENCIES || true\n' printf 'PERL_COREFLAGS = -DPERL_CORE\n' printf 'PERL_LFFLAGS = %s\n' "$ccflags_uselargefiles" printf 'PERL_LDLIBS = %s\n' "$perllibs" diff -r da060775097e -r 5fbe2f47bce2 usr/src/cmd/perl/5.6.1/extract_makeext.sh --- a/usr/src/cmd/perl/5.6.1/extract_makeext.sh Thu Apr 12 13:16:46 2007 -0700 +++ b/usr/src/cmd/perl/5.6.1/extract_makeext.sh Thu Apr 12 13:58:41 2007 -0700 @@ -1,8 +1,8 @@ #!/bin/ksh -p # -# Copyright (c) 2001 by Sun Microsystems, Inc. -# All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. # #ident "%Z%%M% %I% %E% SMI" # @@ -123,7 +123,7 @@ for ext in $nonxs_ext do printf '%s: %s/Makefile FRC\n' $ext $ext - printf '\t@ cd $@; pwd ' + printf '\t@ cd $@; pwd; ' printf '$(PERL_MM_ENV); $(MAKE) all\n\n' done diff -r da060775097e -r 5fbe2f47bce2 usr/src/cmd/perl/5.8.4/extract_config.sh --- a/usr/src/cmd/perl/5.8.4/extract_config.sh Thu Apr 12 13:16:46 2007 -0700 +++ b/usr/src/cmd/perl/5.8.4/extract_config.sh Thu Apr 12 13:58:41 2007 -0700 @@ -1,7 +1,7 @@ #!/bin/ksh -p # -# Copyright 2006 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" @@ -76,7 +76,7 @@ printf 'PERL_POD_DIR = $(ROOT)%s/pod\n' $privlibexp # Compilation environment flags. -printf 'KEEP_STATE_OFF = unset KEEP_STATE SUNPRO_DEPENDENCIES\n' +printf 'KEEP_STATE_OFF = unset KEEP_STATE SUNPRO_DEPENDENCIES || true\n' printf 'PERL_COREFLAGS = -DPERL_CORE\n' printf 'PERL_LFFLAGS = %s\n' "$ccflags_uselargefiles" printf 'PERL_LDLIBS = %s\n' "$perllibs" diff -r da060775097e -r 5fbe2f47bce2 usr/src/cmd/perl/5.8.4/extract_makeext.sh --- a/usr/src/cmd/perl/5.8.4/extract_makeext.sh Thu Apr 12 13:16:46 2007 -0700 +++ b/usr/src/cmd/perl/5.8.4/extract_makeext.sh Thu Apr 12 13:58:41 2007 -0700 @@ -1,6 +1,6 @@ #!/bin/ksh -p # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "%Z%%M% %I% %E% SMI" @@ -122,7 +122,7 @@ for ext in $nonxs_ext do printf '%s: %s/Makefile FRC\n' $ext $ext - printf '\t@ cd $@; pwd ' + printf '\t@ cd $@; pwd; ' printf '$(PERL_MM_ENV); $(MAKE) all\n\n' done