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

Diff of /dev-vcs/git/git-1.7.3.4-r1.ebuild

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/Attic/git-1.7.3.4-r1.ebuild,v 1.6 2010/12/25 22:42:35 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/Attic/git-1.7.3.4-r1.ebuild,v 1.7 2010/12/26 22:40:40 robbat2 Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7GENTOO_DEPEND_ON_PERL=no 7GENTOO_DEPEND_ON_PERL=no
8inherit toolchain-funcs eutils elisp-common perl-module bash-completion 8inherit toolchain-funcs eutils elisp-common perl-module bash-completion
193 epatch "${FILESDIR}"/git-1.7.2-always-install-js.patch 193 epatch "${FILESDIR}"/git-1.7.2-always-install-js.patch
194 194
195 # USE=-iconv causes segfaults, fixed post 1.7.1 195 # USE=-iconv causes segfaults, fixed post 1.7.1
196 # Gentoo bug #321895 196 # Gentoo bug #321895
197 #epatch "${FILESDIR}"/git-1.7.1-noiconv-segfault-fix.patch 197 #epatch "${FILESDIR}"/git-1.7.1-noiconv-segfault-fix.patch
198
199 # Fix false positives with t3404 due to SHELL=/bin/false for the portage
200 # user.
201 epatch "${FILESDIR}"/git-1.7.3.4-avoid-shell-issues.patch
198 202
199 sed -i \ 203 sed -i \
200 -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \ 204 -e 's:^\(CFLAGS =\).*$:\1 $(OPTCFLAGS) -Wall:' \
201 -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \ 205 -e 's:^\(LDFLAGS =\).*$:\1 $(OPTLDFLAGS):' \
202 -e 's:^\(CC = \).*$:\1$(OPTCC):' \ 206 -e 's:^\(CC = \).*$:\1$(OPTCC):' \
432 done 436 done
433 einfo "Disabled tests:" 437 einfo "Disabled tests:"
434 for i in ${disabled} ; do 438 for i in ${disabled} ; do
435 [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i" 439 [[ -f "${i}" ]] && mv -f "${i}" "${i}.DISABLED" && einfo "Disabled $i"
436 done 440 done
441
442 # Now run the tests
437 cd "${S}" 443 cd "${S}"
438 # Now run the tests
439 einfo "Start test run" 444 einfo "Start test run"
440 git_emake test 445 git_emake test
441 rc=$? 446 rc=$?
447
442 # Display nice results 448 # Display nice results
443 cd "${S}/t" 449 cd "${S}/t"
444 git_emake aggregate-results 450 git_emake aggregate-results
451
452 # And exit
445 [ $rc -eq 0 ] || die "tests failed. Please file a bug." 453 [ $rc -eq 0 ] || die "tests failed. Please file a bug."
446} 454}
447 455
448showpkgdeps() { 456showpkgdeps() {
449 local pkg=$1 457 local pkg=$1

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20