net-libs/zeromq: Introduce drafts use flag
authorMarius Brehler <marbre@linux.sungazer.de>
Mon, 28 May 2018 14:31:16 +0000 (16:31 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 28 May 2018 14:49:04 +0000 (16:49 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8630
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-libs/zeromq/metadata.xml
net-libs/zeromq/zeromq-4.2.2-r2.ebuild
net-libs/zeromq/zeromq-4.2.3.ebuild
net-libs/zeromq/zeromq-4.2.5.ebuild

index 981328e740da37c6d66e234439469d9626b62ca3..8d747a412580a63167ca2b1d7f7c3bb6bc001b55 100644 (file)
                <subslots>Reflect ABI of libzmq.so.</subslots>
        </slots>
        <use>
+               <flag name="drafts">
+                       Build draft API, which may change at any time without any notice, and
+                       is therefore not recommended for normal use.
+               </flag>
                <flag name="pgm">
                        Build PGM (Pragmatic General Multicast)extention, a protocol for reliable 
                        multicast transport of data over IP networks.
index 9afe36287c8767446da1c8e672945be30678eb4a..8c2ee822f163874cce3115307660eb14fc01107c 100644 (file)
@@ -12,7 +12,7 @@ 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 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="doc pgm +sodium static-libs test unwind elibc_Darwin"
+IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin"
 
 RDEPEND="
        !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
@@ -40,6 +40,7 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                --enable-shared
+               $(use_enable drafts)
                $(use_enable static-libs static)
                $(use_enable unwind libunwind)
                $(use_with sodium libsodium)
index cdef847f86e4e8df70d583de4fc3671af70e0a18..da4a8da09188968cf64a26a14e3792dc701ddd21 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -12,7 +12,7 @@ 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="doc pgm +sodium static-libs test unwind elibc_Darwin"
+IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin"
 
 RDEPEND="
        !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
@@ -39,6 +39,7 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                --enable-shared
+               $(use_enable drafts)
                $(use_enable static-libs static)
                $(use_enable unwind libunwind)
                $(use_with sodium libsodium)
index 5d8ebac8b7fe8e967c23fe2c669b62b417f3d2f1..da4a8da09188968cf64a26a14e3792dc701ddd21 100644 (file)
@@ -12,7 +12,7 @@ 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="doc pgm +sodium static-libs test unwind elibc_Darwin"
+IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin"
 
 RDEPEND="
        !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
@@ -39,6 +39,7 @@ src_prepare() {
 src_configure() {
        local myeconfargs=(
                --enable-shared
+               $(use_enable drafts)
                $(use_enable static-libs static)
                $(use_enable unwind libunwind)
                $(use_with sodium libsodium)