summaryrefslogtreecommitdiff
path: root/dev-vcs/git-extras/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-08 19:30:29 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-08 19:30:29 +0100
commit541eca7cf7b9950f0adaaf9158f94c76ba0aedc9 (patch)
treeb80d0f20ca0dc04843c819a54cc618cc8baf0479 /dev-vcs/git-extras/files
parent4df758340c38fb7f188a6356561aeb4ed2c3f38c (diff)
gentoo auto-resync : 08:10:2022 - 19:30:29
Diffstat (limited to 'dev-vcs/git-extras/files')
-rw-r--r--dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch b/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch
new file mode 100644
index 000000000000..f266c1562d91
--- /dev/null
+++ b/dev-vcs/git-extras/files/git-extras-6.5.0-no-bash-completion-install.patch
@@ -0,0 +1,20 @@
+We shouldn't install this manually to that location.
+--- a/Makefile
++++ b/Makefile
+@@ -69,8 +69,6 @@ install: check
+ cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX); \
+ echo "cp -f man/git-*.1 $(DESTDIR)$(MANPREFIX)"; \
+ fi
+- @mkdir -p $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions
+- cp -f etc/bash_completion.sh $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+ @echo ""
+ @echo "If you are a zsh user, you may want to 'source $(CODE_DIR)etc/git-extras-completion.zsh'" \
+ "and put this line into ~/.zshrc to enable zsh completion"
+@@ -119,7 +117,6 @@ uninstall:
+ echo "... uninstalling $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN))"; \
+ rm -f $(DESTDIR)$(MANPREFIX)/$(notdir $(MAN)); \
+ )
+- rm -f $(DESTDIR)$(SYSCONFDIR)/bash-completion/completions/git-extras
+
+ clean: docclean
+