diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-01-17 00:16:06 +0100 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-01-17 00:16:46 +0100 |
commit | e97050ff8c5fc45e15b899a3f7445594f9daeba9 (patch) | |
tree | 9a5f3c8de521c646592299c1d356b05d9dec08a0 /dev-vcs/git/git-9999-r1.ebuild | |
parent | dev-perl/Finance-Quote: Version bump (diff) | |
download | gentoo-e97050ff8c5fc45e15b899a3f7445594f9daeba9.tar.gz gentoo-e97050ff8c5fc45e15b899a3f7445594f9daeba9.tar.bz2 gentoo-e97050ff8c5fc45e15b899a3f7445594f9daeba9.zip |
dev-vcs/git: Conditionally add patches that improve MediaWiki cloning
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-vcs/git/git-9999-r1.ebuild')
-rw-r--r-- | dev-vcs/git/git-9999-r1.ebuild | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-vcs/git/git-9999-r1.ebuild b/dev-vcs/git/git-9999-r1.ebuild index 460140c73abb..b414783eff4d 100644 --- a/dev-vcs/git/git-9999-r1.ebuild +++ b/dev-vcs/git/git-9999-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -38,7 +38,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" +IUSE="+blksha1 +curl cgi doc emacs gnome-keyring +gpg gtk highlight +iconv mediawiki mediawiki-experimental +nls +pcre +perl +python ppcsha1 tk +threads +webdav xinetd cvs subversion test" # Common to both DEPEND and RDEPEND CDEPEND=" @@ -102,6 +102,7 @@ REQUIRED_USE=" cgi? ( perl ) cvs? ( perl ) mediawiki? ( perl ) + mediawiki-experimental? ( mediawiki ) subversion? ( perl ) webdav? ( curl ) gtk? ( python ) @@ -228,6 +229,13 @@ src_prepare() { # hack, needs better upstream solution epatch "${FILESDIR}"/git-1.8.5-mw-vendor.patch + # add experimental patches to improve mediawiki support + # see patches for origin + if use mediawiki-experimental ; then + epatch "${FILESDIR}"/git-2.7.0-mediawiki-namespaces.patch + epatch "${FILESDIR}"/git-2.7.0-mediawiki-subpages.patch + fi + epatch "${FILESDIR}"/git-2.2.0-svn-fe-linking.patch epatch_user @@ -630,6 +638,7 @@ pkg_postinst() { showpkgdeps git-instaweb \ "|| ( www-servers/lighttpd www-servers/apache www-servers/nginx )" echo + use mediawiki-experimental && ewarn "Using experimental git-mediawiki patches. The stability of cloned wiki filesystems is not guaranteed." } pkg_postrm() { |