/[gentoo-x86]/dev-vcs/git/git-9999.ebuild
Gentoo

Diff of /dev-vcs/git/git-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.21 Revision 1.22
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-9999.ebuild,v 1.21 2011/05/31 06:27:02 mduft Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/git-9999.ebuild,v 1.22 2011/06/27 19:56:45 robbat2 Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7GENTOO_DEPEND_ON_PERL=no 7GENTOO_DEPEND_ON_PERL=no
8 8
242 242
243 # bug #318289 243 # bug #318289
244 # Merged upstream 244 # Merged upstream
245 #epatch "${FILESDIR}"/git-1.7.3.2-interix.patch 245 #epatch "${FILESDIR}"/git-1.7.3.2-interix.patch
246 246
247 # reported upstream. should be in the next release. 247 # merged upstream
248 epatch "${FILESDIR}"/git-1.7.5-interix.patch 248 #epatch "${FILESDIR}"/git-1.7.5-interix.patch
249} 249}
250 250
251git_emake() { 251git_emake() {
252 # bug #326625: PERL_PATH, PERL_MM_OPT 252 # bug #326625: PERL_PATH, PERL_MM_OPT
253 # bug #320647: PYTHON_PATH 253 # bug #320647: PYTHON_PATH
261 OPTAR="$(tc-getAR)" \ 261 OPTAR="$(tc-getAR)" \
262 prefix="${EPREFIX}"/usr \ 262 prefix="${EPREFIX}"/usr \
263 htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ 263 htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
264 sysconfdir="${EPREFIX}"/etc \ 264 sysconfdir="${EPREFIX}"/etc \
265 PYTHON_PATH="${PYTHON_PATH}" \ 265 PYTHON_PATH="${PYTHON_PATH}" \
266 PERL_PATH="${EPREFIX}/usr/bin/env perl" \
267 PERL_MM_OPT="" \ 266 PERL_MM_OPT="" \
268 GIT_TEST_OPTS="--no-color" \ 267 GIT_TEST_OPTS="--no-color" \
269 "$@" 268 "$@"
269 # This is the fix for bug #326625, but it also causes breakage, see bug
270 # #352693.
271 # PERL_PATH="${EPREFIX}/usr/bin/env perl" \
270} 272}
271 273
272src_configure() { 274src_configure() {
273 exportmakeopts 275 exportmakeopts
274} 276}
418 # Bug #225601 - t0004 is not suitable for root perm 420 # Bug #225601 - t0004 is not suitable for root perm
419 # Bug #219839 - t1004 is not suitable for root perm 421 # Bug #219839 - t1004 is not suitable for root perm
420 # t0001-init.sh - check for init notices EPERM* fails 422 # t0001-init.sh - check for init notices EPERM* fails
421 local tests_nonroot="t0001-init.sh \ 423 local tests_nonroot="t0001-init.sh \
422 t0004-unwritable.sh \ 424 t0004-unwritable.sh \
425 t0070-fundamental.sh \
423 t1004-read-tree-m-u-wf.sh \ 426 t1004-read-tree-m-u-wf.sh \
424 t3700-add.sh \ 427 t3700-add.sh \
425 t7300-clean.sh" 428 t7300-clean.sh"
426 429
427 # Unzip is used only for the testcase code, not by any normal parts of Git. 430 # Unzip is used only for the testcase code, not by any normal parts of Git.
497} 500}
498 501
499pkg_postinst() { 502pkg_postinst() {
500 use emacs && elisp-site-regen 503 use emacs && elisp-site-regen
501 use python && python_mod_optimize git_remote_helpers 504 use python && python_mod_optimize git_remote_helpers
505 use bash-completion && \
506 einfo "Please read /usr/share/bash-completion/git for Git bash completion"
502 if use subversion && has_version dev-vcs/subversion && ! built_with_use --missing false dev-vcs/subversion perl ; then 507 if use subversion && has_version dev-vcs/subversion && ! built_with_use --missing false dev-vcs/subversion perl ; then
503 ewarn "You must build dev-vcs/subversion with USE=perl" 508 ewarn "You must build dev-vcs/subversion with USE=perl"
504 ewarn "to get the full functionality of git-svn!" 509 ewarn "to get the full functionality of git-svn!"
505 fi 510 fi
506 elog "These additional scripts need some dependencies:" 511 elog "These additional scripts need some dependencies:"

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.20