summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneil.williams%sun.com <devnull@localhost>2007-05-09 01:38:16 +0000
committerneil.williams%sun.com <devnull@localhost>2007-05-09 01:38:16 +0000
commitb197b2c7a0c7548d010c7eb692f293556c349245 (patch)
tree6309ed52f41338cd3ebe52f2da8290c366622524
parent32cf9ebc211f36f05d7c80d5b8d47db459f8a15b (diff)
downloadnss-hg-b197b2c7a0c7548d010c7eb692f293556c349245.tar.gz
Bug 82268, builds use wrong version of perl, 3.11 branch
r=nelson,christophe
-rw-r--r--security/coreconf/command.mk1
-rw-r--r--security/coreconf/rules.mk16
-rw-r--r--security/nss/lib/ckfw/Makefile2
-rw-r--r--security/nss/lib/ckfw/builtins/Makefile2
-rw-r--r--security/nss/lib/ckfw/capi/Makefile2
-rw-r--r--security/nss/lib/freebl/ecl/Makefile2
-rw-r--r--security/nss/lib/freebl/mpi/Makefile2
-rw-r--r--security/nss/lib/freebl/mpi/Makefile.os22
-rw-r--r--security/nss/lib/freebl/mpi/Makefile.win2
-rwxr-xr-xsecurity/nss/lib/freebl/mpi/timetest3
-rw-r--r--security/nss/lib/pki1/Makefile2
11 files changed, 19 insertions, 17 deletions
diff --git a/security/coreconf/command.mk b/security/coreconf/command.mk
index f231f1c5c..dff2d49a5 100644
--- a/security/coreconf/command.mk
+++ b/security/coreconf/command.mk
@@ -47,6 +47,7 @@ LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS)
LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS)
CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \
$(XCFLAGS)
+PERL = perl
RANLIB = echo
TAR = /bin/tar
#
diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk
index 212e13262..e8beeb640 100644
--- a/security/coreconf/rules.mk
+++ b/security/coreconf/rules.mk
@@ -75,7 +75,7 @@ endif
import::
@echo "== import.pl =="
- @perl -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/import.pl \
+ @$(PERL) -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/import.pl \
"RELEASE_TREE=$(RELEASE_TREE)" \
"IMPORTS=$(IMPORTS)" \
"VERSION=$(VERSION)" \
@@ -159,7 +159,7 @@ release:: release_clean release_export release_classes release_policy release_md
release_cpdistdir::
@echo "== cpdist.pl =="
- @perl -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/cpdist.pl \
+ @$(PERL) -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/cpdist.pl \
"RELEASE_TREE=$(RELEASE_TREE)" \
"CORE_DEPTH=$(CORE_DEPTH)" \
"MODULE=${MODULE}" \
@@ -185,7 +185,7 @@ release_cpdistdir::
release_jars::
@echo "== release.pl =="
- @perl -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/release.pl \
+ @$(PERL) -I$(CORE_DEPTH)/coreconf $(CORE_DEPTH)/coreconf/release.pl \
"RELEASE_TREE=$(RELEASE_TREE)" \
"PLATFORM=$(PLATFORM)" \
"OS_ARCH=$(OS_ARCH)" \
@@ -584,7 +584,7 @@ ifdef NETLIBDEPTH
CORE_DEPTH := $(NETLIBDEPTH)
endif
-JAVA_EXPORT_SRCS=$(shell perl $(CORE_DEPTH)/coreconf/outofdate.pl $(PERLARG) -d $(JAVA_DESTPATH)/$(PACKAGE) $(JSRCS) $(PRIVATE_JSRCS))
+JAVA_EXPORT_SRCS=$(shell $(PERL) $(CORE_DEPTH)/coreconf/outofdate.pl $(PERLARG) -d $(JAVA_DESTPATH)/$(PACKAGE) $(JSRCS) $(PRIVATE_JSRCS))
export:: $(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE)
ifneq ($(JAVA_EXPORT_SRCS),)
@@ -627,7 +627,7 @@ export:: $(JAVA_DESTPATH) $(JAVA_DESTPATH)/$(PACKAGE)
if test -d $$d; then \
set $(EXIT_ON_ERROR); \
files=`echo $$d/*.java`; \
- list=`perl $(CORE_DEPTH)/coreconf/outofdate.pl $(PERLARG) \
+ list=`$(PERL) $(CORE_DEPTH)/coreconf/outofdate.pl $(PERLARG) \
-d $(JAVA_DESTPATH)/$(PACKAGE) $$files`; \
if test "$${list}x" != "x"; then \
echo Building all java files in $$d; \
@@ -756,7 +756,7 @@ export::
$(JAVAH) -jni -d $(JNI_GEN_DIR) $(JNI_GEN); \
else \
echo "Checking for out of date header files" ; \
- perl $(CORE_DEPTH)/coreconf/jniregen.pl $(PERLARG) \
+ $(PERL) $(CORE_DEPTH)/coreconf/jniregen.pl $(PERLARG) \
-d $(JAVA_DESTPATH) -j "$(JAVAH) -jni -d $(JNI_GEN_DIR)" $(JNI_GEN);\
fi
endif
@@ -855,7 +855,7 @@ TESTS_DIR = $(RESULTS_DIR)/$(RESULTS_SUBDIR)/$(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)
ifneq ($(REGRESSION_SPEC),)
ifneq ($(BUILD_OPT),)
-REGDATE = $(subst \ ,, $(shell perl $(CORE_DEPTH)/$(MODULE)/scripts/now))
+REGDATE = $(subst \ ,, $(shell $(PERL) $(CORE_DEPTH)/$(MODULE)/scripts/now))
endif
tests:: $(REGRESSION_SPEC)
@@ -931,7 +931,7 @@ PERL_DEPENDENCIES_PROGRAM = \
}
.DEFAULT:
- @perl -e '$(PERL_DEPENDENCIES_PROGRAM)'
+ @$(PERL) -e '$(PERL_DEPENDENCIES_PROGRAM)'
endif
#############################################################################
diff --git a/security/nss/lib/ckfw/Makefile b/security/nss/lib/ckfw/Makefile
index 126256ab4..5fb1c3819 100644
--- a/security/nss/lib/ckfw/Makefile
+++ b/security/nss/lib/ckfw/Makefile
@@ -52,7 +52,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# nssckft.h: ck.api ckapi.perl
# nssckg.h: ck.api ckapi.perl
# nssck.api: ck.api ckapi.perl
-# perl ckapi.perl ck.api
+# $(PERL) ckapi.perl ck.api
export:: private_export
diff --git a/security/nss/lib/ckfw/builtins/Makefile b/security/nss/lib/ckfw/builtins/Makefile
index d1410119c..0a2384a2f 100644
--- a/security/nss/lib/ckfw/builtins/Makefile
+++ b/security/nss/lib/ckfw/builtins/Makefile
@@ -77,7 +77,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# Generate certdata.c.
generate:
- perl certdata.perl < certdata.txt
+ $(PERL) certdata.perl < certdata.txt
# This'll need some help from a build person.
diff --git a/security/nss/lib/ckfw/capi/Makefile b/security/nss/lib/ckfw/capi/Makefile
index 77afe8097..222dec098 100644
--- a/security/nss/lib/ckfw/capi/Makefile
+++ b/security/nss/lib/ckfw/capi/Makefile
@@ -80,7 +80,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# Generate certdata.c.
generate:
- perl certdata.perl < certdata.txt
+ $(PERL) certdata.perl < certdata.txt
# This'll need some help from a build person.
diff --git a/security/nss/lib/freebl/ecl/Makefile b/security/nss/lib/freebl/ecl/Makefile
index 7af8d48e3..9ada3eba1 100644
--- a/security/nss/lib/freebl/ecl/Makefile
+++ b/security/nss/lib/freebl/ecl/Makefile
@@ -52,7 +52,7 @@
## might work ... I haven't tested it.
##
#PERL=/usr/bin/perl
-PERL=perl
+#PERL=perl
include ../mpi/target.mk
diff --git a/security/nss/lib/freebl/mpi/Makefile b/security/nss/lib/freebl/mpi/Makefile
index 4716f6ac5..c0e78531c 100644
--- a/security/nss/lib/freebl/mpi/Makefile
+++ b/security/nss/lib/freebl/mpi/Makefile
@@ -55,7 +55,7 @@
## might work ... I haven't tested it.
##
#PERL=/usr/bin/perl
-PERL=perl
+#PERL=perl
include target.mk
diff --git a/security/nss/lib/freebl/mpi/Makefile.os2 b/security/nss/lib/freebl/mpi/Makefile.os2
index a3ea63683..c67f9a793 100644
--- a/security/nss/lib/freebl/mpi/Makefile.os2
+++ b/security/nss/lib/freebl/mpi/Makefile.os2
@@ -55,7 +55,7 @@ AS=alp.exe
## might work ... I haven't tested it.
##
#PERL=/usr/bin/perl
-PERL=perl
+#PERL=perl
##
## Define CFLAGS to contain any local options your compiler
diff --git a/security/nss/lib/freebl/mpi/Makefile.win b/security/nss/lib/freebl/mpi/Makefile.win
index de4e4958f..71ed4893b 100644
--- a/security/nss/lib/freebl/mpi/Makefile.win
+++ b/security/nss/lib/freebl/mpi/Makefile.win
@@ -55,7 +55,7 @@ AS=ml.exe
## might work ... I haven't tested it.
##
#PERL=/usr/bin/perl
-PERL=perl
+#PERL=perl
##
## Define CFLAGS to contain any local options your compiler
diff --git a/security/nss/lib/freebl/mpi/timetest b/security/nss/lib/freebl/mpi/timetest
index e665a7d07..ee896d54a 100755
--- a/security/nss/lib/freebl/mpi/timetest
+++ b/security/nss/lib/freebl/mpi/timetest
@@ -50,6 +50,7 @@
# Avoid using built-in shell echoes
ECHO=/bin/echo
MAKE=gmake
+PERL=perl
# Use a fixed seed so timings will be more consistent
# This one is the 11th-18th decimal digits of 'e'
@@ -122,7 +123,7 @@ for size in $sizes ; do
$ECHO "- Gathering statistics for $size bits ... "
./primegen $size $ntests | grep ticks | awk '{print $7}' | tr -d '(' > tt$$.tmp
$ECHO "$size:" >> timing-results.txt
- perl stats tt$$.tmp >> timing-results.txt
+ $PERL stats tt$$.tmp >> timing-results.txt
tail -1 timing-results.txt
rm -f tt$$.tmp
done
diff --git a/security/nss/lib/pki1/Makefile b/security/nss/lib/pki1/Makefile
index 6bef6dda1..04b47dca0 100644
--- a/security/nss/lib/pki1/Makefile
+++ b/security/nss/lib/pki1/Makefile
@@ -44,7 +44,7 @@ include $(CORE_DEPTH)/coreconf/rules.mk
# Generate oiddata.h and oiddata.c.
oidgen: oidgen.perl oids.txt
rm -f oiddata.c oiddata.h
- perl oidgen.perl oiddata.c oiddata.h oids.txt
+ $(PERL) oidgen.perl oiddata.c oiddata.h oids.txt
export:: private_export