diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-12-02 16:27:00 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-12-02 16:27:00 +0000 |
commit | ccbded4867bd703c1e19c393f896dabaaf60bc6c (patch) | |
tree | 8d88939f9f84af7cb138cefd72f06164a0204e10 /lang/perl5.14/files/use.perl.in | |
parent | Update to 2.10.11 and fix the build with the ncurses port. (diff) |
One last cleanup, factorize a few things into variables, add a few entries to
PLIST_SUB and SUB_LIST, finish making sure the MANPATH are valid all around.
Differential Revision: https://reviews.freebsd.org/D1254
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=373771
Diffstat (limited to 'lang/perl5.14/files/use.perl.in')
-rw-r--r-- | lang/perl5.14/files/use.perl.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/perl5.14/files/use.perl.in b/lang/perl5.14/files/use.perl.in index 1a8b17ba9097..08e8dfd73bb7 100644 --- a/lang/perl5.14/files/use.perl.in +++ b/lang/perl5.14/files/use.perl.in @@ -5,7 +5,6 @@ LINK_USRBIN="%%LINK_USRBIN%%" : ${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" @@ -62,8 +61,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 } |