diff options
-rw-r--r-- | dev-vcs/git/git-2.46.0.ebuild | 16 | ||||
-rw-r--r-- | dev-vcs/git/git-2.46.1.ebuild | 16 | ||||
-rw-r--r-- | dev-vcs/git/git-9999.ebuild | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-vcs/git/git-2.46.0.ebuild b/dev-vcs/git/git-2.46.0.ebuild index 754773f787a6..0247cf6cb525 100644 --- a/dev-vcs/git/git-2.46.0.ebuild +++ b/dev-vcs/git/git-2.46.0.ebuild @@ -333,6 +333,10 @@ src_compile() { git_emake gitweb fi + if use perl ; then + git_emake -C contrib/credential/netrc + fi + if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then git_emake -C contrib/credential/osxkeychain fi @@ -482,6 +486,12 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + if use perl ; then + make -C contrib/credential/netrc test || \ + make -C contrib/credential/netrc testverbose || \ + die "Tests failed for git-credential-netrc failed. Please file a bug!" + fi } src_install() { @@ -608,6 +618,12 @@ src_install() { rm -rf "${ED}"/usr/share/gitweb fi + if use perl ; then + pushd contrib/credential/netrc &>/dev/null || die + dobin git-credential-netrc + popd &>/dev/null || die + fi + if ! use subversion ; then rm -f "${ED}"/usr/libexec/git-core/git-svn \ "${ED}"/usr/share/man/man1/git-svn.1* diff --git a/dev-vcs/git/git-2.46.1.ebuild b/dev-vcs/git/git-2.46.1.ebuild index 754773f787a6..0247cf6cb525 100644 --- a/dev-vcs/git/git-2.46.1.ebuild +++ b/dev-vcs/git/git-2.46.1.ebuild @@ -333,6 +333,10 @@ src_compile() { git_emake gitweb fi + if use perl ; then + git_emake -C contrib/credential/netrc + fi + if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then git_emake -C contrib/credential/osxkeychain fi @@ -482,6 +486,12 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + if use perl ; then + make -C contrib/credential/netrc test || \ + make -C contrib/credential/netrc testverbose || \ + die "Tests failed for git-credential-netrc failed. Please file a bug!" + fi } src_install() { @@ -608,6 +618,12 @@ src_install() { rm -rf "${ED}"/usr/share/gitweb fi + if use perl ; then + pushd contrib/credential/netrc &>/dev/null || die + dobin git-credential-netrc + popd &>/dev/null || die + fi + if ! use subversion ; then rm -f "${ED}"/usr/libexec/git-core/git-svn \ "${ED}"/usr/share/man/man1/git-svn.1* diff --git a/dev-vcs/git/git-9999.ebuild b/dev-vcs/git/git-9999.ebuild index 754773f787a6..0247cf6cb525 100644 --- a/dev-vcs/git/git-9999.ebuild +++ b/dev-vcs/git/git-9999.ebuild @@ -333,6 +333,10 @@ src_compile() { git_emake gitweb fi + if use perl ; then + git_emake -C contrib/credential/netrc + fi + if [[ ${CHOST} == *-darwin* ]] && tc-is-clang ; then git_emake -C contrib/credential/osxkeychain fi @@ -482,6 +486,12 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + if use perl ; then + make -C contrib/credential/netrc test || \ + make -C contrib/credential/netrc testverbose || \ + die "Tests failed for git-credential-netrc failed. Please file a bug!" + fi } src_install() { @@ -608,6 +618,12 @@ src_install() { rm -rf "${ED}"/usr/share/gitweb fi + if use perl ; then + pushd contrib/credential/netrc &>/dev/null || die + dobin git-credential-netrc + popd &>/dev/null || die + fi + if ! use subversion ; then rm -f "${ED}"/usr/libexec/git-core/git-svn \ "${ED}"/usr/share/man/man1/git-svn.1* |