--- a/components/perl_modules/xml-simple/xml-simple-512.p5m Thu May 30 15:25:31 2013 -0700
+++ b/components/perl_modules/xml-simple/xml-simple-512.p5m Thu Jun 13 18:20:37 2013 -0700
@@ -18,22 +18,34 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
+
set name=pkg.fmri value=pkg:/library/perl-5/xml-simple-512@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
-set name=pkg.summary value="XML::Simple - Easy API to maintain XML (esp config files)"
+set name=pkg.summary \
+ value="XML::Simple - Easy API to maintain XML (esp config files)"
set name=pkg.description value="The XML::Simple module provides a simple API layer on top of an underlying XML parsing module (either XML::Parser or one of the SAX2 parser modules)."
-set name=info.classification value="org.opensolaris.category.2008:Development/Perl"
+set name=info.classification \
+ value="org.opensolaris.category.2008:Development/Perl"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
-set name=org.opensolaris.arc-caseid \
- value=LSARC/2004/251
+set name=org.opensolaris.arc-caseid value=LSARC/2004/251
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license xml-simple.license license='Artistic'
+depend type=require fmri=library/perl-5/xml-parser-512
+
+# force a dependency on the Perl runtime
+depend type=require fmri=__TBD pkg.debug.depend.file=perl \
+ pkg.debug.depend.path=usr/perl5/5.12/bin
+
+# force a dependency on the xml-simple package
+depend type=require \
+ fmri=library/perl-5/xml-simple@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+
dir path=usr
dir path=usr/perl5
dir path=usr/perl5/5.12
@@ -57,5 +69,3 @@
file path=usr/perl5/vendor_perl/5.12/$(PERL_ARCH)/auto/XML/Simple/.packlist
link path=usr/share/man/man3/XML::Simple.3 target=../../../perl5/5.12/man/man3/XML::Simple.3
link path=usr/share/man/man3/XML::Simple::FAQ.3 target=../../../perl5/5.12/man/man3/XML::Simple::FAQ.3
-depend fmri=library/perl-5/[email protected] type=optional
-depend fmri=library/perl-5/xml-parser-512 type=require