View | Details | Raw Unified
Collapse All | Expand All

(-) git-1.6.0.3.ebuild (-11 / +6 lines)
 Lines 43-49    Link Here 
			)
			)
	gtk?  ( >=dev-python/pygtk-2.8 )"
	gtk?  ( >=dev-python/pygtk-2.8 )"
SITEFILE=72${PN}-gentoo.el
SITEFILE=50${PN}-gentoo.el
S="${WORKDIR}/${MY_P}"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
pkg_setup() {
 Lines 134-145    Link Here 
	dobashcompletion contrib/completion/git-completion.bash ${PN}
	dobashcompletion contrib/completion/git-completion.bash ${PN}
	if use emacs ; then
	if use emacs ; then
		elisp-install ${PN} contrib/emacs/{,vc-}git.el* || \
		elisp-install ${PN} contrib/emacs/git.{el,elc} || die
			die "elisp-install failed"
		elisp-install ${PN}/compat contrib/emacs/vc-git.{el,elc} || die
		elisp-site-file-install "${FILESDIR}"/${SITEFILE}
		# don't add automatically to the load-path, so the sitefile
		# don't add automatically to the load-path, so the sitefile
		# can do a conditional loading
		# can do a conditional loading
		touch "${D}"/"${SITELISP}"/${PN}/.nosearch
		touch "${D}${SITELISP}/${PN}/compat/.nosearch"
		elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
	fi
	fi
	if use gtk ; then
	if use gtk ; then
 Lines 270-281    Link Here 
}
}
pkg_postinst() {
pkg_postinst() {
	if use emacs ; then
	use emacs && elisp-site-regen
		elisp-site-regen
		elog "GNU Emacs has built-in Git support in versions greater 22.1."
		elog "You can disable the emacs USE flag for dev-util/git"
		elog "if you are using such a version."
	fi
	if use subversion && ! built_with_use dev-util/subversion perl ; then
	if use subversion && ! built_with_use dev-util/subversion perl ; then
		ewarn "You must build dev-util/subversion with USE=perl"
		ewarn "You must build dev-util/subversion with USE=perl"
		ewarn "to get the full functionality of git-svn!"
		ewarn "to get the full functionality of git-svn!"