commit:     5581b5d1e84976a7c43ccb19037614025eba9b8b
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 19 20:23:11 2019 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 19 20:23:11 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5581b5d1

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 <AT> gentoo.org>

 dev-vcs/git/git-2.20.1.ebuild     | 4 ++--
 dev-vcs/git/git-2.21.0_rc1.ebuild | 2 +-
 dev-vcs/git/git-9999-r1.ebuild    | 4 ++--
 dev-vcs/git/git-9999-r2.ebuild    | 4 ++--
 dev-vcs/git/git-9999-r3.ebuild    | 4 ++--
 dev-vcs/git/git-9999.ebuild       | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/dev-vcs/git/git-2.20.1.ebuild b/dev-vcs/git/git-2.20.1.ebuild
index ba5503361b6..c26c4f8ee32 100644
--- a/dev-vcs/git/git-2.20.1.ebuild
+++ b/dev-vcs/git/git-2.20.1.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" \

diff --git a/dev-vcs/git/git-2.21.0_rc1.ebuild 
b/dev-vcs/git/git-2.21.0_rc1.ebuild
index 249c44e0e77..c26c4f8ee32 100644
--- a/dev-vcs/git/git-2.21.0_rc1.ebuild
+++ b/dev-vcs/git/git-2.21.0_rc1.ebuild
@@ -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" \

diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index ba5503361b6..c26c4f8ee32 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.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" \

diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index ba5503361b6..c26c4f8ee32 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" \

diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 06721f19a66..d1579f747e3 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.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" \

diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index d6da0600289..b12a7d47ad1 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.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
@@ -303,7 +303,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" \

Reply via email to