diff options
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/git/git-9999-r1.ebuild | 15 | ||||
-rw-r--r-- | dev-vcs/git/git-9999-r2.ebuild | 15 | ||||
-rw-r--r-- | dev-vcs/git/git-9999-r3.ebuild | 15 |
3 files changed, 45 insertions, 0 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild index 754773f787a6..6112d2fa6228 100644 --- a/dev-vcs/git/git-9999-r1.ebuild +++ b/dev-vcs/git/git-9999-r1.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,11 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + popd &>/dev/null || die + if use perl ; then + emake -C contrib/credential/netrc testverbose + fi } src_install() { @@ -608,6 +617,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-r2.ebuild b/dev-vcs/git/git-9999-r2.ebuild index 754773f787a6..6112d2fa6228 100644 --- a/dev-vcs/git/git-9999-r2.ebuild +++ b/dev-vcs/git/git-9999-r2.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,11 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + popd &>/dev/null || die + if use perl ; then + emake -C contrib/credential/netrc testverbose + fi } src_install() { @@ -608,6 +617,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-r3.ebuild b/dev-vcs/git/git-9999-r3.ebuild index 754773f787a6..6112d2fa6228 100644 --- a/dev-vcs/git/git-9999-r3.ebuild +++ b/dev-vcs/git/git-9999-r3.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,11 @@ src_test() { # And bail if there was a problem [[ ${rc} -eq 0 ]] || die "Tests failed. Please file a bug!" + + popd &>/dev/null || die + if use perl ; then + emake -C contrib/credential/netrc testverbose + fi } src_install() { @@ -608,6 +617,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* |