net-libs/ngtcp2: Disable test phase when test USE flag is disabled
authorCraig Andrews <candrews@gentoo.org>
Sun, 15 Sep 2019 13:14:10 +0000 (09:14 -0400)
committerCraig Andrews <candrews@gentoo.org>
Sun, 15 Sep 2019 13:33:08 +0000 (09:33 -0400)
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@gentoo.org>
net-libs/ngtcp2/ngtcp2-0_pre20190912.ebuild
net-libs/ngtcp2/ngtcp2-9999.ebuild

index a66018291013f5c17cb5a279dffee16dc030966c..c4f268c670432c5684cf95e34e4cf6ea1d4f82f9 100644 (file)
@@ -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=(
index 32d61da3932ecd03e968c5a3e364944227a23280..684ca3e2c88d77c301cebdeb50dce9c76cb57bb1 100644 (file)
@@ -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=(