diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-10-22 16:20:55 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-10-22 16:20:55 +0200 |
commit | 648aaecc6bb2c6429894f2865b28b4d0717ccfd1 (patch) | |
tree | 87f1703283868823ab425aa5bb6aec3be84f8095 /app-admin/gkrellm | |
parent | app-admin/gkrellm: Fixed "gnutls" and "ssl" USE flag logic. (diff) | |
download | gentoo-648aaecc6bb2c6429894f2865b28b4d0717ccfd1.tar.gz gentoo-648aaecc6bb2c6429894f2865b28b4d0717ccfd1.tar.bz2 gentoo-648aaecc6bb2c6429894f2865b28b4d0717ccfd1.zip |
app-admin/gkrellm: Added a warning if USE="gnutls -ssl" is set.
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-admin/gkrellm')
-rw-r--r-- | app-admin/gkrellm/gkrellm-2.3.10-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app-admin/gkrellm/gkrellm-2.3.10-r1.ebuild b/app-admin/gkrellm/gkrellm-2.3.10-r1.ebuild index 4b9dfe899015..b921679f6f1b 100644 --- a/app-admin/gkrellm/gkrellm-2.3.10-r1.ebuild +++ b/app-admin/gkrellm/gkrellm-2.3.10-r1.ebuild @@ -53,6 +53,13 @@ S="${WORKDIR}/${MY_P}" DOCS=( Changelog CREDITS README ) +pkg_pretend() { + if use gnutls && ! use ssl ; then + ewarn "You have enabled the \"gnutls\" USE flag but not the \"ssl\" USE flag." + ewarn "No ssl backend will be built!" + fi +} + pkg_setup() { enewgroup gkrellmd enewuser gkrellmd -1 -1 -1 gkrellmd |