summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 23:04:48 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 23:07:16 -0500
commitd9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a (patch)
tree22af867fd3094551d36c1db9a796fc4036e5c445
parentmedia-gfx/pngcrush: version bump to 1.7.92 (diff)
downloadgentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.tar.gz
gentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.tar.bz2
gentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.zip
sys-devel/bison: only stub perl out when USE=-test #545896
-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) \