commit: f79ca92e4ed00c58a880b2932b81469b56b54a3b Author: Alexey Sokolov <sokolov <AT> google <DOT> com> AuthorDate: Sun Dec 18 09:46:28 2016 +0000 Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org> CommitDate: Fri Dec 23 03:17:04 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f79ca92e
net-irc/znc: hide zlib and icu behind global USE-flags Closes: #3156 net-irc/znc/znc-1.6.4.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-irc/znc/znc-1.6.4.ebuild b/net-irc/znc/znc-1.6.4.ebuild index d7516ba..f8a3449 100644 --- a/net-irc/znc/znc-1.6.4.ebuild +++ b/net-irc/znc/znc-1.6.4.ebuild @@ -21,13 +21,12 @@ KEYWORDS="~amd64 ~arm ~x86" HOMEPAGE="http://znc.in" LICENSE="Apache-2.0" SLOT="0" -IUSE="daemon debug ipv6 libressl perl python ssl sasl tcl test" +IUSE="daemon debug ipv6 icu libressl perl python ssl sasl tcl test zlib" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" - dev-libs/icu:= - sys-libs/zlib + icu? ( dev-libs/icu:= ) perl? ( >=dev-lang/perl-5.10:= ) python? ( ${PYTHON_DEPS} ) sasl? ( >=dev-libs/cyrus-sasl-2 ) @@ -36,6 +35,7 @@ RDEPEND=" libressl? ( dev-libs/libressl:0= ) ) tcl? ( dev-lang/tcl:0= ) + zlib? ( sys-libs/zlib ) " DEPEND=" ${RDEPEND} @@ -67,12 +67,14 @@ src_configure() { econf \ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ $(use_enable debug) \ + $(use_enable icu charset) \ $(use_enable ipv6) \ $(use_enable perl) \ $(use_enable python) \ $(use_enable sasl cyrus) \ $(use_enable ssl openssl) \ $(use_enable tcl) \ + $(use_enable zlib) \ $(use_with test gtest "${WORKDIR}/googletest-release-${GTEST_VER}") }