1 |
commit: f79ca92e4ed00c58a880b2932b81469b56b54a3b |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Sun Dec 18 09:46:28 2016 +0000 |
4 |
Commit: Sam Jorna <wraeth <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 23 03:17:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f79ca92e |
7 |
|
8 |
net-irc/znc: hide zlib and icu behind global USE-flags |
9 |
|
10 |
Closes: #3156 |
11 |
|
12 |
net-irc/znc/znc-1.6.4.ebuild | 8 +++++--- |
13 |
1 file changed, 5 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/net-irc/znc/znc-1.6.4.ebuild b/net-irc/znc/znc-1.6.4.ebuild |
16 |
index d7516ba..f8a3449 100644 |
17 |
--- a/net-irc/znc/znc-1.6.4.ebuild |
18 |
+++ b/net-irc/znc/znc-1.6.4.ebuild |
19 |
@@ -21,13 +21,12 @@ KEYWORDS="~amd64 ~arm ~x86" |
20 |
HOMEPAGE="http://znc.in" |
21 |
LICENSE="Apache-2.0" |
22 |
SLOT="0" |
23 |
-IUSE="daemon debug ipv6 libressl perl python ssl sasl tcl test" |
24 |
+IUSE="daemon debug ipv6 icu libressl perl python ssl sasl tcl test zlib" |
25 |
|
26 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
27 |
|
28 |
RDEPEND=" |
29 |
- dev-libs/icu:= |
30 |
- sys-libs/zlib |
31 |
+ icu? ( dev-libs/icu:= ) |
32 |
perl? ( >=dev-lang/perl-5.10:= ) |
33 |
python? ( ${PYTHON_DEPS} ) |
34 |
sasl? ( >=dev-libs/cyrus-sasl-2 ) |
35 |
@@ -36,6 +35,7 @@ RDEPEND=" |
36 |
libressl? ( dev-libs/libressl:0= ) |
37 |
) |
38 |
tcl? ( dev-lang/tcl:0= ) |
39 |
+ zlib? ( sys-libs/zlib ) |
40 |
" |
41 |
DEPEND=" |
42 |
${RDEPEND} |
43 |
@@ -67,12 +67,14 @@ src_configure() { |
44 |
econf \ |
45 |
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
46 |
$(use_enable debug) \ |
47 |
+ $(use_enable icu charset) \ |
48 |
$(use_enable ipv6) \ |
49 |
$(use_enable perl) \ |
50 |
$(use_enable python) \ |
51 |
$(use_enable sasl cyrus) \ |
52 |
$(use_enable ssl openssl) \ |
53 |
$(use_enable tcl) \ |
54 |
+ $(use_enable zlib) \ |
55 |
$(use_with test gtest "${WORKDIR}/googletest-release-${GTEST_VER}") |
56 |
} |