summary refs log tree commit diff
path: root/www/git.causal.agency/cgit/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-08 13:35:11 -0400
committerJune McEnroe <june@causal.agency>2021-06-08 13:35:11 -0400
commita26642b1f76bdb010d20ba82564f26e5436a8f67 (patch)
treea4665c82fc53652024c66f391048defe0b730f2f /www/git.causal.agency/cgit/Makefile
parentConfigure xlock (diff)
downloadsrc-a26642b1f76bdb010d20ba82564f26e5436a8f67.tar.gz
src-a26642b1f76bdb010d20ba82564f26e5436a8f67.zip
Fetch git .tar.gz for compatibility
OpenBSD tar(1) has no -J.
Diffstat (limited to 'www/git.causal.agency/cgit/Makefile')
-rw-r--r--www/git.causal.agency/cgit/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/git.causal.agency/cgit/Makefile b/www/git.causal.agency/cgit/Makefile
index 49109adc..0c5b632d 100644
--- a/www/git.causal.agency/cgit/Makefile
+++ b/www/git.causal.agency/cgit/Makefile
@@ -15,7 +15,7 @@ pdfdir = $(docdir)
 mandir = $(prefix)/share/man
 SHA1_HEADER = <openssl/sha.h>
 GIT_VER = 2.25.1
-GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.xz
+GIT_URL = https://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.gz
 INSTALL = install
 COPYTREE = cp -r
 MAN5_TXT = $(wildcard *.5.txt)
@@ -157,7 +157,7 @@ clean-doc:
 	$(RM) cgitrc.5 cgitrc.5.html cgitrc.5.pdf cgitrc.5.xml cgitrc.5.fo
 
 get-git:
-	curl -L $(GIT_URL) | tar -xJf - && rm -rf git && mv git-$(GIT_VER) git
+	curl -L $(GIT_URL) | tar -xzf - && rm -rf git && mv git-$(GIT_VER) git
 
 tags:
 	$(QUIET_TAGS)find . -name '*.[ch]' | xargs ctags