sys-devel/bison: only stub perl out when USE=-test #545896
authorMike Frysinger <vapier@gentoo.org>
Mon, 11 Jan 2016 04:04:48 +0000 (23:04 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 11 Jan 2016 04:07:16 +0000 (23:07 -0500)
sys-devel/bison/bison-3.0.4-r1.ebuild

index e8abeb810336c80b464c8e96c61e305d1b1c966f..88ae57c1fcd647812678119a217d2a533713dd22 100644 (file)
@@ -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) \