From: Mike Frysinger Date: Mon, 11 Jan 2016 04:04:48 +0000 (-0500) Subject: sys-devel/bison: only stub perl out when USE=-test #545896 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d9aa54eeb43bb1436a8e48c2e5c8ad4a828f990a;p=gentoo.git sys-devel/bison: only stub perl out when USE=-test #545896 --- 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) \