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
This commit is contained in:
Lars Wendler
2018-10-22 16:20:55 +02:00
parent 774a00f067
commit 648aaecc6b

View File

@@ -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