diff options
author | garga <garga@FreeBSD.org> | 2010-12-06 17:56:58 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2010-12-06 17:56:58 +0800 |
commit | df7ef37bb21f0541e137fc5703ee27eb22151213 (patch) | |
tree | b4eeb0f3a418215b5c26d5b9cef1622a506958f4 /lang/perl5.10 | |
parent | cc6744f76eebd37a7f232d4da501ab098ee1bfd7 (diff) | |
download | freebsd-ports-gnome-df7ef37bb21f0541e137fc5703ee27eb22151213.tar.gz freebsd-ports-gnome-df7ef37bb21f0541e137fc5703ee27eb22151213.tar.zst freebsd-ports-gnome-df7ef37bb21f0541e137fc5703ee27eb22151213.zip |
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)
Diffstat (limited to 'lang/perl5.10')
-rw-r--r-- | lang/perl5.10/files/use.perl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/perl5.10/files/use.perl b/lang/perl5.10/files/use.perl index d215b0c2ae4a..23a5ae48a62e 100644 --- a/lang/perl5.10/files/use.perl +++ b/lang/perl5.10/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 |