changeset 4020:5fbe2f47bce2

6540124 RFE: OS/Net build could be slightly more portable Contributed by Roland Mainz <roland.mainz@nrubsig.org>.
author kupfer
date Thu, 12 Apr 2007 13:58:41 -0700
parents da060775097e
children 4a874a55e21a
files usr/src/cmd/perl/5.6.1/extract_config.sh usr/src/cmd/perl/5.6.1/extract_makeext.sh usr/src/cmd/perl/5.8.4/extract_config.sh usr/src/cmd/perl/5.8.4/extract_makeext.sh
diffstat 4 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- 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"
--- 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
 
--- 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"
--- 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