commit:     0cdd5d6e42a1ebe3f9ae1b6f76ba35cc497240c2
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  8 18:40:10 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Nov  8 18:41:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdd5d6e

dev-vcs/git: avoid using ${D} before src_install

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-vcs/git/git-2.31.1.ebuild     | 9 ++++-----
 dev-vcs/git/git-2.32.0-r1.ebuild  | 9 ++++-----
 dev-vcs/git/git-2.33.1.ebuild     | 9 ++++-----
 dev-vcs/git/git-2.34.0_rc1.ebuild | 9 ++++-----
 dev-vcs/git/git-9999-r1.ebuild    | 9 ++++-----
 dev-vcs/git/git-9999-r2.ebuild    | 9 ++++-----
 dev-vcs/git/git-9999-r3.ebuild    | 9 ++++-----
 dev-vcs/git/git-9999.ebuild       | 9 ++++-----
 8 files changed, 32 insertions(+), 40 deletions(-)

diff --git a/dev-vcs/git/git-2.31.1.ebuild b/dev-vcs/git/git-2.31.1.ebuild
index decf7398d49..e15dae7192f 100644
--- a/dev-vcs/git/git-2.31.1.ebuild
+++ b/dev-vcs/git/git-2.31.1.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-2.32.0-r1.ebuild b/dev-vcs/git/git-2.32.0-r1.ebuild
index 3967c829181..d9b4b7cd33e 100644
--- a/dev-vcs/git/git-2.32.0-r1.ebuild
+++ b/dev-vcs/git/git-2.32.0-r1.ebuild
@@ -295,7 +295,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -368,7 +367,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -418,10 +417,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -429,7 +428,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-2.33.1.ebuild b/dev-vcs/git/git-2.33.1.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-2.33.1.ebuild
+++ b/dev-vcs/git/git-2.33.1.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-2.34.0_rc1.ebuild 
b/dev-vcs/git/git-2.34.0_rc1.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-2.34.0_rc1.ebuild
+++ b/dev-vcs/git/git-2.34.0_rc1.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-9999-r1.ebuild
+++ b/dev-vcs/git/git-9999-r1.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-9999-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-9999-r2.ebuild
+++ b/dev-vcs/git/git-9999-r2.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-9999-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-9999-r3.ebuild
+++ b/dev-vcs/git/git-9999-r3.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild
index 6af4b971bc5..6fd30df8050 100644
--- a/dev-vcs/git/git-9999.ebuild
+++ b/dev-vcs/git/git-9999.ebuild
@@ -291,7 +291,6 @@ git_emake() {
                htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                perllibdir="$(use perl && perl_get_raw_vendorlib)" \
                sysconfdir="${EPREFIX}"/etc \
-               DESTDIR="${D}" \
                GIT_TEST_OPTS="--no-color" \
                OPTAR="$(tc-getAR)" \
                OPTCC="$(tc-getCC)" \
@@ -364,7 +363,7 @@ src_compile() {
 }
 
 src_install() {
-       git_emake install || die "make install failed"
+       git_emake DESTDIR="${D}" install || die "make install failed"
 
        if [[ ${CHOST} == *-darwin* && ! tc-is-gcc ]]; then
                dobin contrib/credential/osxkeychain/git-credential-osxkeychain
@@ -414,10 +413,10 @@ src_install() {
 
        # git-subtree
        pushd contrib/subtree &>/dev/null || die
-       git_emake install || die "Failed to emake install for git-subtree"
+       git_emake DESTDIR="${D}" install || die "Failed to emake install for 
git-subtree"
        if use doc ; then
                # Do not move git subtree install-man outside USE=doc!
-               git_emake install-man install-html || die "Failed to emake 
install-html install-man for git-subtree"
+               git_emake DESTDIR="${D}" install-man install-html || die 
"Failed to emake install-html install-man for git-subtree"
        fi
        newdoc README README.git-subtree
        dodoc git-subtree.txt
@@ -425,7 +424,7 @@ src_install() {
 
        if use mediawiki ; then
                pushd contrib/mw-to-git &>/dev/null || die
-               git_emake install
+               git_emake DESTDIR="${D}" install
                popd &>/dev/null || die
        fi
 

Reply via email to