Alexander Pyhalov
2015-07-27 4c3dde18906fd3bf8a798fd48840863a23131fb0
Add rules to make Perl 5.22 modules
2 files modified
24 ■■■■ changed files
make-rules/makemaker.mk 17 ●●●● patch | view | raw | blame | history
make-rules/shared-macros.mk 7 ●●●● patch | view | raw | blame | history
make-rules/makemaker.mk
@@ -21,8 +21,7 @@
# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
#
# Perl 5.12 and older are 32-bit only.
# Perl 5.16 and newer are 64-bit only.
# All Perl versions are 32-bit only.
COMMON_PERL_ENV +=    MAKE=$(GMAKE)
COMMON_PERL_ENV +=    PATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(PATH)
@@ -36,20 +35,22 @@
$(BUILD_DIR)/$(MACH32)-5.16/.configured:    PERL_VERSION=5.16
$(BUILD_DIR)/$(MACH32)-5.16/.configured:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.10.0/.configured:    PERL_VERSION=5.10.0
$(BUILD_DIR)/$(MACH32)-5.10.0/.configured:    BITS=32
$(BUILD_DIR)/$(MACH64)-5.16/.configured:    PERL_VERSION=5.16
$(BUILD_DIR)/$(MACH64)-5.16/.configured:    BITS=64
$(BUILD_DIR)/$(MACH32)-5.22/.configured:    PERL_VERSION=5.22
$(BUILD_DIR)/$(MACH32)-5.22/.configured:    BITS=32
$(BUILD_DIR)/$(MACH64)-5.22/.configured:    PERL_VERSION=5.22
$(BUILD_DIR)/$(MACH64)-5.22/.configured:    BITS=64
$(BUILD_DIR)/$(MACH32)-5.10.0/.tested:    PERL_VERSION=5.10.0
$(BUILD_DIR)/$(MACH32)-5.10.0/.tested:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.16/.tested:    PERL_VERSION=5.16
$(BUILD_DIR)/$(MACH32)-5.16/.tested:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.22/.tested:    PERL_VERSION=5.22
$(BUILD_DIR)/$(MACH32)-5.22/.tested:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.10.0/.tested-and-compared:    PERL_VERSION=5.10.0
$(BUILD_DIR)/$(MACH32)-5.10.0/.tested-and-compared:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.16/.tested-and-compared:    PERL_VERSION=5.16
$(BUILD_DIR)/$(MACH32)-5.16/.tested-and-compared:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.22/.tested-and-compared:    BITS=32
$(BUILD_DIR)/$(MACH32)-5.22/.tested-and-compared:    PERL_VERSION=5.22
PERL_32_BUILD_FILES:=$(foreach ver, $(PERL_VERSIONS), $(BUILD_DIR)/$(MACH32)-$(ver)/.built )
PERL_32_INSTALL_FILES:=$(foreach ver, $(PERL_VERSIONS), $(BUILD_DIR)/$(MACH32)-$(ver)/.installed )
make-rules/shared-macros.mk
@@ -429,15 +429,12 @@
# This is the default BUILD version of perl
# Not necessarily the system's default version, i.e. /usr/bin/perl
#PERL_VERSION =  5.10.0
PERL_VERSION =  5.16
#PERL_VERSIONS = 5.10.0 5.12 5.16
PERL_VERSIONS = 5.16
PERL_VERSIONS = 5.16 5.22
PERL.5.10.0 =     /usr/perl5/5.10.0/bin/perl
PERL.5.12 =     /usr/perl5/5.12/bin/perl
PERL.5.16 =    /usr/perl5/5.16/bin/perl
PERL.5.22 =    /usr/perl5/5.22/bin/perl
PERL =          $(PERL.$(PERL_VERSION))