From e6e0ba127e18777ee4241e8ff3e5e1d5a977d639 Mon Sep 17 00:00:00 2001 From: Rodrigo Saboya Date: Wed, 16 Oct 2019 14:40:39 -0300 Subject: [PATCH] dev-db/sqlitebrowser: Handling test dependency correctly Changed in: https://github.com/sqlitebrowser/sqlitebrowser/pull/1419/files Closes: https://bugs.gentoo.org/683666 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Rodrigo Saboya Closes: https://github.com/gentoo/gentoo/pull/13064 Signed-off-by: Joonas Niilola --- dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild b/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild index c763fd949dca..937429c32f84 100644 --- a/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild +++ b/dev-db/sqlitebrowser/sqlitebrowser-3.11.1-r1.ebuild @@ -48,7 +48,8 @@ src_prepare() { sed -e "/^project/ s/\".*\"/sqlitebrowser/" -i CMakeLists.txt || die if ! use test; then - sed -e "/qt5_use_modules/ s/ Test//" -i CMakeLists.txt || die + sed -e "/find_package/ s/ Test//" -i CMakeLists.txt || die + sed -e "/set/ s/ Qt5::Test//" -i CMakeLists.txt || die fi } -- 2.26.2