summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-10 23:05:59 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-10 23:07:16 -0500
commit098bb0ab0f88679edefd7516d9697c46e289d558 (patch)
treeab5aeed2832984dc4cdca645a749eeec56df407c /sys-devel
parentsys-devel/bison: only stub perl out when USE=-test #545896 (diff)
downloadgentoo-098bb0ab0f88679edefd7516d9697c46e289d558.tar.gz
gentoo-098bb0ab0f88679edefd7516d9697c46e289d558.tar.bz2
gentoo-098bb0ab0f88679edefd7516d9697c46e289d558.zip
sys-devel/bison: backport perl changes to current stable #538300
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/bison/bison-2.7.1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-devel/bison/bison-2.7.1.ebuild b/sys-devel/bison/bison-2.7.1.ebuild
index fd0e06aa878d..0472471de947 100644
--- a/sys-devel/bison/bison-2.7.1.ebuild
+++ b/sys-devel/bison/bison-2.7.1.ebuild
@@ -13,18 +13,21 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="nls static"
+IUSE="nls static test"
RDEPEND=">=sys-devel/m4-1.4.16"
DEPEND="${RDEPEND}
sys-devel/flex
- nls? ( sys-devel/gettext )"
+ nls? ( sys-devel/gettext )
+ test? ( dev-lang/perl )"
DOCS="AUTHORS ChangeLog-2012 NEWS README THANKS TODO" # ChangeLog-1998 PACKAGING README-alpha README-release
src_configure() {
use static && append-ldflags -static
+ # We don't need perl unless we run tests.
+ use test || export ac_cv_path_PERL=true
econf \
$(use_enable nls)
}