diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5.10/files/use.perl | 10 | ||||
-rw-r--r-- | lang/perl5.12/files/use.perl | 10 | ||||
-rw-r--r-- | lang/perl5.14/files/use.perl | 10 | ||||
-rw-r--r-- | lang/perl5.16/files/use.perl | 10 | ||||
-rw-r--r-- | lang/perl5.8/files/use.perl | 20 |
5 files changed, 42 insertions, 18 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 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 diff --git a/lang/perl5.14/files/use.perl b/lang/perl5.14/files/use.perl index 890d8f4f31d0..f9b8a5caa4bc 100644 --- a/lang/perl5.14/files/use.perl +++ b/lang/perl5.14/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 diff --git a/lang/perl5.16/files/use.perl b/lang/perl5.16/files/use.perl index 890d8f4f31d0..f9b8a5caa4bc 100644 --- a/lang/perl5.16/files/use.perl +++ b/lang/perl5.16/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 diff --git a/lang/perl5.8/files/use.perl b/lang/perl5.8/files/use.perl index ed6dd20654a8..73d64c2f2bb2 100644 --- a/lang/perl5.8/files/use.perl +++ b/lang/perl5.8/files/use.perl @@ -23,13 +23,17 @@ if [ "x$this" = "xuse.perl" ]; 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 + if [ "${osreldate}" -lt 900022 ]; then + need_cleanup_manpath=yes + need_spam_manpath=yes + fi elif [ "$1" = "system" ] ; 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 echo "Usage: ${0##*/} port -> /usr/bin/perl is the perl5 port @@ -41,14 +45,18 @@ else need_remove_links=yes need_create_links=yes 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=yes need_cleanup_make_conf=yes - need_cleanup_manpath=yes + if [ "${osreldate}" -lt 900022 ]; then + need_cleanup_manpath=yes + fi else exit 0; fi |