summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-20 13:02:51 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-20 13:02:55 -0500
commit8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9 (patch)
tree5cf8194edbc2f511b863b6f2e870ed184f594f04 /sys-devel
parentnet-libs/libaccounts-glib: version bump (diff)
downloadgentoo-8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9.tar.gz
gentoo-8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9.tar.bz2
gentoo-8edfc50dab0424fe3db9741c3e5ccb9a0e0588a9.zip
sys-devel/flex: disable building tests when USE=-test #568842
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/flex/flex-2.6.0.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-devel/flex/flex-2.6.0.ebuild b/sys-devel/flex/flex-2.6.0.ebuild
index b603320301d1..6fc951f26fe8 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() {