--- a/make-rules/shared-macros.mk Fri Mar 03 15:29:05 2017 -0800
+++ b/make-rules/shared-macros.mk Sat Mar 04 04:04:35 2017 +0000
@@ -18,7 +18,7 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2010, 2017, Oracle and/or its affiliates. All rights reserved.
#
PATH=/usr/bin:/usr/gnu/bin
@@ -375,13 +375,18 @@
# This is the default BUILD version of perl
# Not necessarily the system's default version, i.e. /usr/bin/perl
-PERL_VERSION ?= 5.12
+PERL_VERSION ?= 5.12
-PERL_VERSIONS = 5.8.4 5.12
+PERL_VERSIONS = 5.8.4 5.12 5.22
-PERL.5.8.4 = /usr/perl5/5.8.4/bin/perl
-PERL.5.12 = /usr/perl5/5.12/bin/perl
-PERL.5.12-mt = /usr/perl5/5.12/bin/perl-threaded
+PERL.5.8.4 = /usr/perl5/5.8.4/bin/perl
+PERL.5.8.4.BITS = $(MACH32)
+PERL.5.12 = /usr/perl5/5.12/bin/perl
+PERL.5.12.BITS = $(MACH32)
+PERL.5.12-mt = /usr/perl5/5.12/bin/perl-threaded
+PERL.5.12-mt.BITS = $(MACH32)
+PERL.5.22 = /usr/perl5/5.22/bin/perl
+PERL.5.22.BITS = $(MACH64)
PERL = $(PERL.$(PERL_VERSION))