components/perl_modules/xml-parser/Makefile
changeset 1152 96d423311191
parent 1058 34d7aaa03423
child 1170 63707ad3c24c
--- a/components/perl_modules/xml-parser/Makefile	Mon Feb 11 08:59:55 2013 -0800
+++ b/components/perl_modules/xml-parser/Makefile	Mon Feb 11 10:12:25 2013 -0800
@@ -18,18 +18,25 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+#
+
 #
+# Note that package library/perl-5/xml-parser cannot use versionless
+# packaging because this package migrated from the desktop consolidation
+# with an incorrect version number.
+#
+
 include ../../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		XML-Parser
-COMPONENT_VERSION=	2.36
+COMPONENT_VERSION=	2.41
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:9fd529867402456bd826fe0e5588d35b3a2e27e586a2fd838d1352b71c2ed73f
-COMPONENT_ARCHIVE_URL=	http://www.cpan.org/authors/id/M/MS/MSERGEANT/$(COMPONENT_ARCHIVE)
-COMPONENT_PROJECT_URL=	http://search.cpan.org/~msergeant/
+    sha256:b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9
+COMPONENT_ARCHIVE_URL=	http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$(COMPONENT_ARCHIVE)
+COMPONENT_PROJECT_URL=	http://search.cpan.org/~toddr/
 COMPONENT_BUGDB=	perl-mod/xml-parser
 
 include $(WS_TOP)/make-rules/prep.mk
@@ -39,12 +46,15 @@
 # man pages go in the common area
 COMPONENT_INSTALL_ENV += INSTALLVENDORMAN3DIR=$(USRSHAREMAN3DIR)
 
-build:		$(BUILD_32)
+COMPONENT_TEST_TARGETS = test
+
+PKG_MACROS +=	PERL_A=$(shell arch)
 
-install:	$(INSTALL_32)
+build:		$(BUILD_32_and_64)
 
-COMPONENT_TEST_TARGETS = test
-test:		$(TEST_32)
+install:	$(INSTALL_32_and_64)
+
+test:		$(TEST_32_and_64)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)