commit: 2dd95b1b5378fc917fd27c5d0a5c925ce9b8f5cd Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Jan 24 23:16:28 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Jan 24 23:16:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dd95b1b
dev-libs/appstream: Fix build with USE !test Closes: https://bugs.gentoo.org/675944 Package-Manager: Portage-2.3.58, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/appstream/appstream-0.12.4.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-libs/appstream/appstream-0.12.4.ebuild b/dev-libs/appstream/appstream-0.12.4.ebuild index 315dc0c2acd..b64ac55e048 100644 --- a/dev-libs/appstream/appstream-0.12.4.ebuild +++ b/dev-libs/appstream/appstream-0.12.4.ebuild @@ -47,6 +47,9 @@ RDEPEND="${DEPEND}" src_prepare() { default sed -e "/^as_doc_target_dir/s/appstream/${PF}/" -i docs/meson.build || die + if ! use test; then + sed -e "/^subdir.*tests/s/^/#DONT /" -i {,qt/}meson.build || die # bug 675944 + fi } src_configure() {