aboutsummaryrefslogtreecommitdiffstats
path: root/www-apps/cgit/cgit-1.2.3-r4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www-apps/cgit/cgit-1.2.3-r4.ebuild (renamed from www-apps/cgit/cgit-1.2.3-r3.ebuild)8
1 files changed, 7 insertions, 1 deletions
diff --git a/www-apps/cgit/cgit-1.2.3-r3.ebuild b/www-apps/cgit/cgit-1.2.3-r4.ebuild
index 2b57dcb..58030e6 100644
--- a/www-apps/cgit/cgit-1.2.3-r3.ebuild
+++ b/www-apps/cgit/cgit-1.2.3-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://www.kernel.org/pub/software/scm/git/git-${GIT_V}.tar.xz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="doc highlight lua luajit lzip markdown static zip zstd"
+IUSE="doc highlight lua luajit lzip markdown static +vanilla zip zstd"
LUA_DEPEND="
lua? (
@@ -51,6 +51,12 @@ REQUIRED_USE="
"
src_prepare() {
+ if ! use vanilla; then
+ PATCHES+=(
+ "${FILESDIR}/${P}-git-http-backend.patch"
+ )
+ fi
+
default
rmdir git || die