From 811866d89e048e67d33e31d9be877af0fef351b3 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 26 Nov 2019 23:12:26 +0100 Subject: [PATCH] media-libs/vigra: Disable test dir to avoid useless warnings Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner --- media-libs/vigra/vigra-1.11.1-r2.ebuild | 2 ++ media-libs/vigra/vigra-9999.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/media-libs/vigra/vigra-1.11.1-r2.ebuild b/media-libs/vigra/vigra-1.11.1-r2.ebuild index 387419da0854..8f4b2b23a1c5 100644 --- a/media-libs/vigra/vigra-1.11.1-r2.ebuild +++ b/media-libs/vigra/vigra-1.11.1-r2.ebuild @@ -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() { diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild index 363de89451a1..cad2a8191a7b 100644 --- a/media-libs/vigra/vigra-9999.ebuild +++ b/media-libs/vigra/vigra-9999.ebuild @@ -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() { -- 2.26.2