commit:     8a7f4c0e95f78caa6f64babb88a07e0f536d4d93
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 31 14:47:51 2023 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Jan 31 14:48:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a7f4c0e

net-libs/ngtcp2: Add static-libs USE flag

Closes: https://bugs.gentoo.org/892734

Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-libs/ngtcp2/{ngtcp2-9999.ebuild => ngtcp2-0.13.0-r1.ebuild} | 3 ++-
 net-libs/ngtcp2/ngtcp2-9999.ebuild                              | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild 
b/net-libs/ngtcp2/ngtcp2-0.13.0-r1.ebuild
similarity index 93%
copy from net-libs/ngtcp2/ngtcp2-9999.ebuild
copy to net-libs/ngtcp2/ngtcp2-0.13.0-r1.ebuild
index b46e1455bcb4..47638e878cea 100644
--- a/net-libs/ngtcp2/ngtcp2-9999.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-0.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,7 @@ RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(
+               -DENABLE_STATIC_LIB=$(usex static-libs)
                -DENABLE_GNUTLS=$(usex gnutls)
                -DENABLE_OPENSSL=$(usex openssl)
                -DENABLE_BORINGSSL=OFF

diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild 
b/net-libs/ngtcp2/ngtcp2-9999.ebuild
index b46e1455bcb4..47638e878cea 100644
--- a/net-libs/ngtcp2/ngtcp2-9999.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,7 @@ RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(
+               -DENABLE_STATIC_LIB=$(usex static-libs)
                -DENABLE_GNUTLS=$(usex gnutls)
                -DENABLE_OPENSSL=$(usex openssl)
                -DENABLE_BORINGSSL=OFF

Reply via email to