From 9ea6e8d213ac21da1e528b0bc650da852c041967 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Sun, 15 Sep 2019 09:13:48 -0400 Subject: [PATCH] net-libs/nghttp3: Disable test phase when test USE flag is disabled Bug: https://bugs.gentoo.org/show_bug.cgi?id=694342 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews --- net-libs/nghttp3/nghttp3-0_pre20190912.ebuild | 1 + net-libs/nghttp3/nghttp3-9999.ebuild | 1 + 2 files changed, 2 insertions(+) diff --git a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild index 6489dde91d83..48b5fc1f2854 100644 --- a/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild +++ b/net-libs/nghttp3/nghttp3-0_pre20190912.ebuild @@ -25,6 +25,7 @@ IUSE="test" BDEPEND="virtual/pkgconfig" DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" RDEPEND="" +RESTRICT="!test? ( test )" multilib_src_configure() { local mycmakeargs=( diff --git a/net-libs/nghttp3/nghttp3-9999.ebuild b/net-libs/nghttp3/nghttp3-9999.ebuild index 62a48b643ade..9bc601bc0316 100644 --- a/net-libs/nghttp3/nghttp3-9999.ebuild +++ b/net-libs/nghttp3/nghttp3-9999.ebuild @@ -23,6 +23,7 @@ IUSE="test" BDEPEND="virtual/pkgconfig" DEPEND="test? ( >=dev-util/cunit-2.1[${MULTILIB_USEDEP}] )" RDEPEND="" +RESTRICT="!test? ( test )" multilib_src_configure() { local mycmakeargs=( -- 2.26.2