diff options
| author | Bill Moore <Bill.Moore@Sun.COM> | 2009-01-08 15:13:52 -0800 |
|---|---|---|
| committer | Bill Moore <Bill.Moore@Sun.COM> | 2009-01-08 15:13:52 -0800 |
| commit | 9d250f42ae92513e449646a9ac923a9fcb8aff48 (patch) | |
| tree | 6cb4b95952a72d8d5259a803e3a2fed6abc1a3d0 /usr/src/cmd/perl | |
| parent | 67b54fb64138aa0cc33ebb72f670b0956d2ba53d (diff) | |
| download | illumos-joyent-9d250f42ae92513e449646a9ac923a9fcb8aff48.tar.gz | |
6791110 perl doesn't build when VERSION is not set
Diffstat (limited to 'usr/src/cmd/perl')
| -rw-r--r-- | usr/src/cmd/perl/5.8.4/extract_config.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/src/cmd/perl/5.8.4/extract_config.sh b/usr/src/cmd/perl/5.8.4/extract_config.sh index e00e059b88..bc1654c17c 100644 --- a/usr/src/cmd/perl/5.8.4/extract_config.sh +++ b/usr/src/cmd/perl/5.8.4/extract_config.sh @@ -1,11 +1,9 @@ #!/bin/ksh -p # -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # # This script extracts values from the passed config.sh file and prints them to @@ -83,7 +81,8 @@ printf 'PERL_LDLIBS = %s\n' "$perllibs" printf 'PERL_LD_ENV = LD_LIBRARY_PATH=$(PERL_DISTRIB); export LD_LIBRARY_PATH\n' printf 'PERL_LIB_ENV = PERL5LIB=$(PERL_UTILS)/lib:$(PERL_DISTRIB)/lib; ' printf 'export PERL5LIB\n' -printf 'PERL_MM_ENV = $(KEEP_STATE_OFF); unset VERSION; $(PERL_LIB_ENV)\n' +printf 'PERL_MM_ENV = $(KEEP_STATE_OFF); unset VERSION || true; ' +printf '$(PERL_LIB_ENV)\n' printf "PERL_MM_ARGS = PERL_CORE=1 DEFINE='\$(DTEXTDOM)'\n" # Make sure we always run miniperl with the correct environment. |
