From 3a6ce846895bc4e7428d2a36ce202dd37c23b4fb Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Fri, 12 Jan 2018 23:24:56 +0100 Subject: dev-vcs/git: set PERL_PATH variable. The rational for this change is that git on Gentoo/FreeBSD doesn't build properly when this variable is unset. After chatting to floppym on the gentoo-dev channel, here's what he found out in git-instaweb's Makefile: Define PERL_PATH to the path of your Perl binary (usually /usr/bin/perl). Package-Manager: Portage-2.3.13, Repoman-2.3.4 Closes: https://github.com/gentoo/gentoo/pull/6849 --- dev-vcs/git/git-9999-r2.ebuild | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dev-vcs/git/git-9999-r2.ebuild') diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild index 3f45eb3ef445..d3e89d0092f7 100644 --- a/dev-vcs/git/git-9999-r2.ebuild +++ b/dev-vcs/git/git-9999-r2.ebuild @@ -299,7 +299,6 @@ src_prepare() { } git_emake() { - # bug #326625: PERL_PATH, PERL_MM_OPT # bug #320647: PYTHON_PATH PYTHON_PATH="" use python && PYTHON_PATH="${PYTHON}" @@ -313,13 +312,11 @@ git_emake() { htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ sysconfdir="${EPREFIX}"/etc \ PYTHON_PATH="${PYTHON_PATH}" \ + PERL_PATH="${EPREFIX}/usr/bin/perl" \ PERL_MM_OPT="" \ GIT_TEST_OPTS="--no-color" \ V=1 \ "$@" - # This is the fix for bug #326625, but it also causes breakage, see bug - # #352693. - # PERL_PATH="${EPREFIX}/usr/bin/env perl" \ } src_configure() { -- cgit v1.2.3-65-gdbad