7150246 upgrade to perl 5.12.4
authorCraig Mohrman <craig.mohrman@oracle.com>
Tue, 06 Mar 2012 08:30:18 -0800
changeset 720 ceb85a06a8f7
parent 719 5ee16815b74c
child 721 2c6e5942629e
7150246 upgrade to perl 5.12.4
components/perl512/Makefile
components/perl512/perl-512.p5m
--- a/components/perl512/Makefile	Tue Mar 06 17:46:27 2012 +0530
+++ b/components/perl512/Makefile	Tue Mar 06 08:30:18 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -29,12 +29,12 @@
 # can't call it.
 
 COMPONENT_NAME=		perl
-COMPONENT_VERSION=	5.12.3
+COMPONENT_VERSION=	5.12.4
 PERL_VERSION=		5.12
 COMPONENT_PROJECT_URL=	http://www.perl.org/
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
-COMPONENT_ARCHIVE_HASH=	sha1:86d77c6cbc7a60068dc14c88ffd0729324d1174f
+COMPONENT_ARCHIVE_HASH=	sha1:68ff2f4a0901d1e4ea263f452001db0563d2edb3
 COMPONENT_ARCHIVE_URL=	http://www.cpan.org/src/5.0/$(COMPONENT_ARCHIVE)
 
 include ../../make-rules/prep.mk
@@ -65,6 +65,8 @@
 # If that changes the sed filter needs to change.
 #
 
+# That last bit re-runs bison to regenerate perly.h.
+
 COMPONENT_PRE_BUILD_ACTION= \
 	(cd $(@D); $(ENV) -i \
 		MAKE=$(GMAKE) \
@@ -92,8 +94,9 @@
 	    '/^myuname=/{print $$1" localhost "$$3" "$$5" "$$6" "$$7"\047"} ; \
 	    		!/^myuname=/ {print}' config.sh_orig \
 		| \
-		sed -e 's/[^ ]*SUNWspro[^ ]*//g' > config.sh )
-
+		sed -e 's/[^ ]*SUNWspro[^ ]*//g' > config.sh ) ; \
+	( $(RM) $(@D)/perly.act $(@D)/perly.tab $(@D)/perly.h; \
+		cd $(@D) ; $(GMAKE) regen_perly )
 
 COMPONENT_INSTALL_ENV	+=	DESTDIR="$(PROTO_DIR)"
 #
--- a/components/perl512/perl-512.p5m	Tue Mar 06 17:46:27 2012 +0530
+++ b/components/perl512/perl-512.p5m	Tue Mar 06 08:30:18 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
@@ -1841,6 +1841,7 @@
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl5121delta.pod
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl5122delta.pod
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl5123delta.pod
+file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl5124delta.pod
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl561delta.pod
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl56delta.pod
 file path=usr/perl5/$(PERL_VERSION)/lib/pod/perl570delta.pod
@@ -2935,6 +2936,7 @@
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl5121delta.1
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl5122delta.1
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl5123delta.1
+file path=usr/perl5/$(PERL_VERSION)/man/man1/perl5124delta.1
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl561delta.1
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl56delta.1
 file path=usr/perl5/$(PERL_VERSION)/man/man1/perl570delta.1