From b70de5a820f1d9842cad5e70589ded41de7e53e2 Mon Sep 17 00:00:00 2001 From: Ferenc Erki Date: Sun, 29 Oct 2017 23:30:48 +0100 Subject: [PATCH] app-vim/perl-support: handle optional dependencies. Closes: https://bugs.gentoo.org/614492 Closes: https://github.com/gentoo/gentoo/pull/6078 Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- app-vim/perl-support/perl-support-5.4.ebuild | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app-vim/perl-support/perl-support-5.4.ebuild b/app-vim/perl-support/perl-support-5.4.ebuild index 80a42f4e20a7..11fbe9c4a123 100644 --- a/app-vim/perl-support/perl-support-5.4.ebuild +++ b/app-vim/perl-support/perl-support-5.4.ebuild @@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos" VIM_PLUGIN_HELPFILES="perlsupport.txt" RDEPEND=" + !ppc? ( dev-perl/Devel-NYTProf ) + dev-perl/Perl-Tidy dev-perl/Perl-Tags dev-perl/Perl-Critic" @@ -29,3 +31,16 @@ src_install() { vim-plugin_src_install } + +pkg_postinst() { + elog "${PN} can utilize the following modules on top of the ones installed as" + elog "dependencies:" + elog + elog "Devel::SmallProf - per-line Perl profiler" + elog "Devel::FastProf - per-line Perl profiler" + elog "Devel::ptkdb - Perl debugger using a Tk GUI" + elog "Pod::Pdf - A POD to PDF translator" + elog "YAPE::Regex::Explain - regular expression analyzer" + elog + elog "You may need to install them separately if you would like to use them." +} -- 2.26.2