media-libs/vigra: Disable test dir to avoid useless warnings
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 26 Nov 2019 22:12:26 +0000 (23:12 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 27 Nov 2019 00:12:47 +0000 (01:12 +0100)
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-libs/vigra/vigra-1.11.1-r2.ebuild
media-libs/vigra/vigra-9999.ebuild

index 387419da0854a90f377f502024bc4bf3259f46b8..8f4b2b23a1c5d7e581ab0e7d53f6446db27e13fa 100644 (file)
@@ -100,6 +100,8 @@ src_prepare() {
 
        # Don't use python_fix_shebang because we can't put this behind USE="python"
        sed -i -e '/env/s:python:python2:' config/vigra-config.in || die
+
+       use test || cmake_comment_add_subdirectory test
 }
 
 src_configure() {
index 363de89451a1983279fb7488e88bae937053b0b0..cad2a8191a7bb75155b27297158aabc711d639e5 100644 (file)
@@ -95,6 +95,8 @@ src_prepare() {
 
        # Don't use python_fix_shebang because we can't put this behind USE="python"
        sed -i -e '/env/s:python:python3:' config/vigra-config.in || die
+
+       use test || cmake_comment_add_subdirectory test
 }
 
 src_configure() {