summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-03 08:55:06 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-03 09:40:03 +1300
commit2316e95de01bc908b50be18dc002c4f98e5c3453 (patch)
treee35b63c40131ab1fec422b8ada6fdb6cb743416a /dev-perl/CGI-FormBuilder
parentsys-apps/portage: version bump to 2.3.11 (diff)
downloadgentoo-2316e95de01bc908b50be18dc002c4f98e5c3453.tar.gz
gentoo-2316e95de01bc908b50be18dc002c4f98e5c3453.tar.bz2
gentoo-2316e95de01bc908b50be18dc002c4f98e5c3453.zip
dev-perl/CGI-FormBuilder: Improve optdep notice
Including one overlooked optdep with test interaction Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/CGI-FormBuilder')
-rw-r--r--dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
index a84ec1784fcd..52abc4e4d477 100644
--- a/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
+++ b/dev-perl/CGI-FormBuilder/CGI-FormBuilder-3.100.0.ebuild
@@ -26,10 +26,16 @@ DEPEND="${RDEPEND}
"
optdep_notice() {
- elog "This package has support for optionally using the following template"
- elog "engines which you may want to install separately:"
-
- local i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo '[I]'; else echo '[ ]'; fi)"
+ local i;
+ elog "This package has support for optional features via the following packages"
+ elog "which you may want to install separately:"
+ elog
+ i="$(if has_version '>=dev-perl/CGI-Session-3.950.0'; then echo '[I]'; else echo '[ ]'; fi)"
+ elog " $i >=dev-perl/CGI-Session-3.950.0"
+ elog " - Multi-page form persistence with CGI::FormBuilder::Multi";
+ elog
+ elog " Alternative Template Engines:"
+ i="$(if has_version '>=dev-perl/CGI-FastTemplate-1.90.0'; then echo '[I]'; else echo '[ ]'; fi)"
elog " $i >=dev-perl/CGI-FastTemplate-1.90.0"
elog " - CGI::FastTemplate via CGI::FormBuilder::Template::Fast";
@@ -47,8 +53,8 @@ optdep_notice() {
if use test; then
elog
- elog "Additional tests exist in this module which will perform relevant tests"
- elog "when any of the aforementioned optional dependencies are installed"
+ elog "This module will perform additonal tests if these dependencies are"
+ elog "pre-installed"
fi
}