From: Rodrigo Saboya Date: Wed, 16 Oct 2019 17:40:39 +0000 (-0300) Subject: dev-db/sqlitebrowser: Handling test dependency correctly X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6e0ba127e18777ee4241e8ff3e5e1d5a977d639;p=gentoo.git 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 --- 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 }