diff options
Diffstat (limited to 'lang/perl5.20/files')
-rw-r--r-- | lang/perl5.20/files/perl-man.conf.in | 4 | ||||
-rw-r--r-- | lang/perl5.20/files/use.perl.in | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lang/perl5.20/files/perl-man.conf.in b/lang/perl5.20/files/perl-man.conf.in index 6b6205ff659f..441fc5d4c44c 100644 --- a/lang/perl5.20/files/perl-man.conf.in +++ b/lang/perl5.20/files/perl-man.conf.in @@ -1,2 +1,2 @@ -MANPATH %%PREFIX%%/%%SITE_PERL%%/man -MANPATH %%PREFIX%%/lib/perl5/%%PERL_VER%%/perl/man +MANPATH %%PREFIX%%/%%SITEMAN3PREFIX%%/man +MANPATH %%PREFIX%%/%%MAN3PREFIX%%/man diff --git a/lang/perl5.20/files/use.perl.in b/lang/perl5.20/files/use.perl.in index 7b6c5f4c56df..5376d36ced0e 100644 --- a/lang/perl5.20/files/use.perl.in +++ b/lang/perl5.20/files/use.perl.in @@ -4,9 +4,7 @@ : ${OSVERSION:=`/sbin/sysctl -n kern.osreldate`}; PERL_VERSION="%%PERL_VERSION%%" -PERL_VER="%%PERL_VER%%" banner="# added by use.perl $(/bin/date +'%F %T')" -special_link_list="perl perl5" do_cleanup_manpath() { @@ -28,8 +26,8 @@ do_spam_manpath() { if [ -f /etc/manpath.config ] ; then echo "${banner}" >>/etc/manpath.config - echo "OPTIONAL_MANPATH ${PKG_PREFIX}/lib/perl5/${PERL_VER}/man" >>/etc/manpath.config - echo "OPTIONAL_MANPATH ${PKG_PREFIX}/lib/perl5/${PERL_VER}/perl/man" >>/etc/manpath.config + echo "OPTIONAL_MANPATH ${PKG_PREFIX}/%%SITEMAN3PREFIX%%/man" >>/etc/manpath.config + echo "OPTIONAL_MANPATH ${PKG_PREFIX}/%%MAN3PREFIX%%/man" >>/etc/manpath.config fi } |