summaryrefslogtreecommitdiff
path: root/lang/perl5.12
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2010-12-06 09:56:58 +0000
committerRenato Botelho <garga@FreeBSD.org>2010-12-06 09:56:58 +0000
commit56f4b98b86e90b0fb1541c8aea81e6467e98cd41 (patch)
tree0cf71304260c8c4be93afe112d5ae2d91e28edbb /lang/perl5.12
parent- Update to 3.1.10 (diff)
Do not touch /etc/manpath.config on -CURRENT after man.d/perl.conf is used
instead PR: ports/151914 Submitted by: garga@ Approved by: skv@ (maintainer)
Notes
Notes: svn path=/head/; revision=265753
Diffstat (limited to 'lang/perl5.12')
-rw-r--r--lang/perl5.12/files/use.perl10
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/perl5.12/files/use.perl b/lang/perl5.12/files/use.perl
index 890d8f4f31d0..f9b8a5caa4bc 100644
--- a/lang/perl5.12/files/use.perl
+++ b/lang/perl5.12/files/use.perl
@@ -21,14 +21,18 @@ if [ "$2" = "POST-INSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_create_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
- need_cleanup_manpath=yes
need_spam_make_conf=yes
- need_spam_manpath=yes
need_post_install=yes
+ if [ "${osreldate}" -lt 900022 ]; then
+ need_cleanup_manpath=yes
+ need_spam_manpath=yes
+ fi
elif [ "$2" = "POST-DEINSTALL" ] ; then
need_remove_links=%%LINK_USRBIN%%
need_cleanup_make_conf=yes
- need_cleanup_manpath=yes
+ if [ "${osreldate}" -lt 900022 ]; then
+ need_cleanup_manpath=yes
+ fi
else
exit 0;
fi