summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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