commit:     2de91bdd02292a37c134e69f005d751ede57f1f0
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Sep 11 16:17:48 2022 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Wed Sep 14 11:51:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de91bdd

net-libs/nghttp2: enable threads by default

Upstream enables pthreads by default, so enable it unconditionally.

Closes: https://bugs.gentoo.org/869755
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/27211
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 net-libs/nghttp2/nghttp2-1.48.0.ebuild | 4 ++--
 net-libs/nghttp2/nghttp2-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-libs/nghttp2/nghttp2-1.48.0.ebuild 
b/net-libs/nghttp2/nghttp2-1.48.0.ebuild
index bc0b88490be5..f3153add272b 100644
--- a/net-libs/nghttp2/nghttp2-1.48.0.ebuild
+++ b/net-libs/nghttp2/nghttp2-1.48.0.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://github.com/nghttp2/nghttp2/releases/download/v${PV}/${P}.tar.xz
 LICENSE="MIT"
 SLOT="0/1.14" # <C++>.<C> SONAMEs
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="cxx debug hpack-tools jemalloc static-libs test +threads utils xml"
+IUSE="cxx debug hpack-tools jemalloc static-libs test utils xml"
 
 RESTRICT="!test? ( test )"
 
@@ -55,13 +55,13 @@ multilib_src_configure() {
                --disable-failmalloc
                --disable-python-bindings
                --disable-werror
+               --enable-threads
                --without-cython
                $(use_enable cxx asio-lib)
                $(use_enable debug)
                $(multilib_native_use_enable hpack-tools)
                $(use_enable static-libs static)
                $(use_with test cunit)
-               $(use_enable threads)
                $(multilib_native_use_enable utils app)
                $(multilib_native_use_with jemalloc)
                $(multilib_native_use_with xml libxml2)

diff --git a/net-libs/nghttp2/nghttp2-9999.ebuild 
b/net-libs/nghttp2/nghttp2-9999.ebuild
index 9011d96cec10..67529daca48f 100644
--- a/net-libs/nghttp2/nghttp2-9999.ebuild
+++ b/net-libs/nghttp2/nghttp2-9999.ebuild
@@ -14,7 +14,7 @@ EGIT_REPO_URI="https://github.com/nghttp2/nghttp2.git";
 LICENSE="MIT"
 SLOT="0/1.14" # <C++>.<C> SONAMEs
 KEYWORDS=""
-IUSE="cxx debug hpack-tools jemalloc static-libs test +threads utils xml"
+IUSE="cxx debug hpack-tools jemalloc static-libs test utils xml"
 
 RESTRICT="!test? ( test )"
 
@@ -50,13 +50,13 @@ multilib_src_configure() {
                --disable-failmalloc
                --disable-python-bindings
                --disable-werror
+               --enable-threads
                --without-cython
                $(use_enable cxx asio-lib)
                $(use_enable debug)
                $(multilib_native_use_enable hpack-tools)
                $(use_enable static-libs static)
                $(use_with test cunit)
-               $(use_enable threads)
                $(multilib_native_use_enable utils app)
                $(multilib_native_use_with jemalloc)
                $(multilib_native_use_with xml libxml2)

Reply via email to