From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4FDF1138334 for ; Thu, 24 Jan 2019 23:17:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64566E0D40; Thu, 24 Jan 2019 23:17:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E572E0D40 for ; Thu, 24 Jan 2019 23:17:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B75F9335D03 for ; Thu, 24 Jan 2019 23:17:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 30C2B4E3 for ; Thu, 24 Jan 2019 23:17:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1548371788.2dd95b1b5378fc917fd27c5d0a5c925ce9b8f5cd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/appstream/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/appstream/appstream-0.12.4.ebuild X-VCS-Directories: dev-libs/appstream/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2dd95b1b5378fc917fd27c5d0a5c925ce9b8f5cd X-VCS-Branch: master Date: Thu, 24 Jan 2019 23:17:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb218106-4772-43c3-aa6c-30c042105e68 X-Archives-Hash: 6e53f945633ed45d106675aa9aca144f commit: 2dd95b1b5378fc917fd27c5d0a5c925ce9b8f5cd Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 24 23:16:28 2019 +0000 Commit: Andreas Sturmlechner gentoo 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 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() {