commit:     4316f287b3d0fa955df281fd9feb9708c5ff61ea
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 24 20:22:16 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Sep 24 20:22:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4316f287

net-libs/zeromq: Add "doc" USE flag

Closes: https://bugs.gentoo.org/630726
Package-Manager: Portage-2.3.10, Repoman-2.3.3

 net-libs/zeromq/zeromq-4.2.2-r2.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net-libs/zeromq/zeromq-4.2.2-r2.ebuild 
b/net-libs/zeromq/zeromq-4.2.2-r2.ebuild
index 5a7e6a8072b..18343274ddc 100644
--- a/net-libs/zeromq/zeromq-4.2.2-r2.ebuild
+++ b/net-libs/zeromq/zeromq-4.2.2-r2.ebuild
@@ -12,16 +12,18 @@ 
SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz";
 LICENSE="LGPL-3"
 SLOT="0/5"
 KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux 
~x86-linux ~x64-macos ~x86-macos"
-IUSE="pgm +sodium static-libs test unwind elibc_Darwin"
+IUSE="doc pgm +sodium static-libs test unwind elibc_Darwin"
 
 RDEPEND="
        !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
        sodium? ( dev-libs/libsodium:= )
        pgm? ( =net-libs/openpgm-5.2.122 )"
 DEPEND="${RDEPEND}
-       app-text/asciidoc
-       app-text/xmlto
        !elibc_Darwin? ( sys-apps/util-linux )
+       doc? (
+               app-text/asciidoc
+               app-text/xmlto
+       )
        pgm? ( virtual/pkgconfig )"
 
 PATCHES=( 
"${FILESDIR}"/${PN}-4.2.1-disable-experimental-zmq_poll-implementation.patch
@@ -42,6 +44,7 @@ src_configure() {
                $(use_enable unwind libunwind)
                $(use_with sodium libsodium)
                $(use_with pgm)
+               $(use_with doc docs)
        )
        econf "${myeconfargs[@]}"
 }

Reply via email to