--- a/components/perl512/perl-512.p5m Tue Apr 02 10:20:47 2013 -0700
+++ b/components/perl512/perl-512.p5m Mon Apr 08 10:05:47 2013 -0700
@@ -18,7 +18,7 @@
#
# 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.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
@@ -27,6 +27,7 @@
set name=pkg.description \
value="Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more."
set name=pkg.summary value=Perl
+set name=com.oracle.info.description value="Perl 5.12"
set name=info.classification \
value=org.opensolaris.category.2008:Development/Perl
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
@@ -3682,8 +3683,18 @@
hardlink path=usr/perl5/$(PERL_VERSION)/man/man1/perlbug.1 target=perlthanks.1
hardlink path=usr/perl5/$(PERL_VERSION)/man/man1/pstruct.1 target=c2ph.1
hardlink path=usr/perl5/$(PERL_VERSION)/man/man1/s2p.1 target=psed.1
-link path=usr/bin/perl target=../perl5/5.12/bin/perl
-link path=usr/perl5/bin target=./5.12/bin
-link path=usr/perl5/man target=./5.12/man
-link path=usr/perl5/pod target=./5.12/lib/pod
+
+# This link is always mediated.
+# Customers may customize this link by creating their own IPS
+# packages with mediated links.
+# DELETE the dupaction once the mediated link is published
+# in the main repo.
+link path=usr/bin/perl target=../perl5/5.12/bin/perl \
+ mediator=perl mediator-version=5.12 mediator-priority=vendor \
+ pkg.linted.pkglint.dupaction010.2=true
+
+link path=usr/perl5/bin target=5.12/bin
+link path=usr/perl5/man target=5.12/man
+link path=usr/perl5/pod target=5.12/lib/pod
+
license perl.license license=Artistic