make-rules/makemaker.mk
branchs11-update
changeset 3996 20c0f21bbe1e
parent 2855 576d5a7857b7
child 7711 48f87ff8204e
--- a/make-rules/makemaker.mk	Thu Mar 19 14:35:58 2015 -0700
+++ b/make-rules/makemaker.mk	Thu Mar 19 20:44:31 2015 -0700
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 # we only do 32 bit perl for now.
@@ -97,3 +97,13 @@
 
 clean:: 
 	$(RM) -r $(BUILD_DIR) $(PROTO_DIR)
+
+ifneq ($(findstring 5.12, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-512
+endif
+ifneq ($(findstring 5.12-mt, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-threaded-512
+endif
+ifneq ($(findstring 5.8.4, $(PERL_VERSIONS)),)
+REQUIRED_PACKAGES += runtime/perl-584
+endif