From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D61691384B4 for ; Sun, 20 Dec 2015 18:04:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35806E086C; Sun, 20 Dec 2015 18:04:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCFD4E086C for ; Sun, 20 Dec 2015 18:04:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96D5034069A for ; Sun, 20 Dec 2015 18:04:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 755A8AF8 for ; Sun, 20 Dec 2015 18:04:19 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1450634575.8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/flex/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/flex/flex-2.6.0.ebuild X-VCS-Directories: sys-devel/flex/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9 X-VCS-Branch: master Date: Sun, 20 Dec 2015 18:04:19 +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-Archives-Salt: 8ca50eff-e9be-4145-9466-fae8389faf9a X-Archives-Hash: eaa66723eccb0607b72d740564a085d8 commit: 8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9 Author: Mike Frysinger gentoo org> AuthorDate: Sun Dec 20 18:02:51 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sun Dec 20 18:02:55 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8edfc50d sys-devel/flex: disable building tests when USE=-test #568842 sys-devel/flex/flex-2.6.0.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys-devel/flex/flex-2.6.0.ebuild b/sys-devel/flex/flex-2.6.0.ebuild index b603320..6fc951f 100644 --- a/sys-devel/flex/flex-2.6.0.ebuild +++ b/sys-devel/flex/flex-2.6.0.ebuild @@ -25,6 +25,14 @@ DEPEND="${RDEPEND} src_prepare() { epatch "${FILESDIR}"/${P}-out-of-tree-build.patch #567332 epatch "${FILESDIR}"/${P}-out-of-tree-test.patch #567332 + + # Disable running in the tests/ subdir as it has a bunch of built sources + # that cannot be made conditional (automake limitation). #568842 + if ! use test ; then + sed -i \ + -e '/^SUBDIRS =/,/^$/{/tests/d}' \ + Makefile.in || die + fi } src_configure() {