summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-12 23:39:33 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-12 23:45:46 -0500
commit775dcc66689e18fe7c037b59a4b1b7394742a008 (patch)
tree390c9752d17dc19593cd1763bb2ed00ee4de1881 /sys-devel/flex/flex-2.6.0.ebuild
parentdev-libs/libinput: Version bump to 1.1.2 (diff)
downloadgentoo-775dcc66689e18fe7c037b59a4b1b7394742a008.tar.gz
gentoo-775dcc66689e18fe7c037b59a4b1b7394742a008.tar.bz2
gentoo-775dcc66689e18fe7c037b59a4b1b7394742a008.zip
sys-devel/flex: fix tests #567332
Diffstat (limited to 'sys-devel/flex/flex-2.6.0.ebuild')
-rw-r--r--sys-devel/flex/flex-2.6.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-devel/flex/flex-2.6.0.ebuild b/sys-devel/flex/flex-2.6.0.ebuild
index aa83cdcb0560..b603320301d1 100644
--- a/sys-devel/flex/flex-2.6.0.ebuild
+++ b/sys-devel/flex/flex-2.6.0.ebuild
@@ -22,6 +22,11 @@ DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
test? ( sys-devel/bison )"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-out-of-tree-build.patch #567332
+ epatch "${FILESDIR}"/${P}-out-of-tree-test.patch #567332
+}
+
src_configure() {
use static && append-ldflags -static