summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bison/bison-3.0.4-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/bison/bison-3.0.4-r1.ebuild b/sys-devel/bison/bison-3.0.4-r1.ebuild
index e8abeb81033..88ae57c1fcd 100644
--- a/sys-devel/bison/bison-3.0.4-r1.ebuild
+++ b/sys-devel/bison/bison-3.0.4-r1.ebuild
@@ -32,7 +32,8 @@ src_prepare() {
src_configure() {
use static && append-ldflags -static
-ac_cv_path_PERL=true \
+ # We don't need perl unless we run tests.
+ use test || export ac_cv_path_PERL=true
econf \
--docdir='$(datarootdir)'/doc/${PF} \
$(use_enable examples) \