summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-02-19 20:23:11 +0000
committerJames Le Cuirot <chewi@gentoo.org>2019-02-19 20:23:11 +0000
commit5581b5d1e84976a7c43ccb19037614025eba9b8b (patch)
tree83883fb3558b4d4beff5cc47568cead1bf218cc1 /dev-vcs/git/git-9999-r2.ebuild
parentnet-libs/webkit-gtk: amd64 stable wrt bug #678334 (diff)
downloadgentoo-5581b5d1e84976a7c43ccb19037614025eba9b8b.tar.gz
gentoo-5581b5d1e84976a7c43ccb19037614025eba9b8b.tar.bz2
gentoo-5581b5d1e84976a7c43ccb19037614025eba9b8b.zip
dev-vcs/git: Don't call perl_get_raw_vendorlib when USE="-perl"
Perl might not even be installed. Package-Manager: Portage-2.3.61, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-vcs/git/git-9999-r2.ebuild')
-rw-r--r--dev-vcs/git/git-9999-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index ba5503361b6a..c26c4f8ee32e 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -300,7 +300,7 @@ git_emake() {
emake ${MY_MAKEOPTS} \
prefix="${EPREFIX}"/usr \
htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
- perllibdir="$(perl_get_raw_vendorlib)" \
+ perllibdir="$(use perl && perl_get_raw_vendorlib)" \
sysconfdir="${EPREFIX}"/etc \
DESTDIR="${D}" \
GIT_TEST_OPTS="--no-color" \