commit:     5df35cf0779ec8f882000a2016830cb3e0c2ab7e
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 13:14:10 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 13:33:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df35cf0

net-libs/ngtcp2: Disable test phase when test USE flag is disabled

Bug: https://bugs.gentoo.org/show_bug.cgi?id=694340
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild | 1 +
 net-libs/ngtcp2/ngtcp2-9999.ebuild          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild 
b/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild
index a6601829101..c4f268c6704 100644
--- a/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild
@@ -26,6 +26,7 @@ BDEPEND="virtual/pkgconfig"
 DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= )
        test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
 RDEPEND=""
+RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(

diff --git a/net-libs/ngtcp2/ngtcp2-9999.ebuild 
b/net-libs/ngtcp2/ngtcp2-9999.ebuild
index 32d61da3932..684ca3e2c88 100644
--- a/net-libs/ngtcp2/ngtcp2-9999.ebuild
+++ b/net-libs/ngtcp2/ngtcp2-9999.ebuild
@@ -24,6 +24,7 @@ BDEPEND="virtual/pkgconfig"
 DEPEND="ssl? ( >=dev-libs/openssl-1.1.1:0= )
        test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )"
 RDEPEND=""
+RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(

Reply via email to