diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 23:04:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 23:07:16 -0500 |
commit | d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a (patch) | |
tree | 22af867fd3094551d36c1db9a796fc4036e5c445 /sys-devel/bison | |
parent | media-gfx/pngcrush: version bump to 1.7.92 (diff) | |
download | gentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.tar.gz gentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.tar.bz2 gentoo-d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a.zip |
sys-devel/bison: only stub perl out when USE=-test #545896
Diffstat (limited to 'sys-devel/bison')
-rw-r--r-- | sys-devel/bison/bison-3.0.4-r1.ebuild | 3 |
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 e8abeb810336..88ae57c1fcd6 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) \ |