projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75caaae
)
sys-devel/flex: disable building tests when USE=-test #568842
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 20 Dec 2015 18:02:51 +0000
(13:02 -0500)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 20 Dec 2015 18:02:55 +0000
(13:02 -0500)
sys-devel/flex/flex-2.6.0.ebuild
patch
|
blob
|
history
diff --git
a/sys-devel/flex/flex-2.6.0.ebuild
b/sys-devel/flex/flex-2.6.0.ebuild
index b603320301d17a16ba797994ae8f72382a7948a8..6fc951f26fe8fd5e7f4f061db84f25860f3eadc8 100644
(file)
--- 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() {