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
commitf96186dd4ba55c51c91bb663e844151e278bbb2f (patch)
tree02b3d927200e1aa5ccb798df63a49cbe09afb398 /www/git.causal.agency/cgit/Makefile
parentConfigure xlock (diff)
downloadsrc-f96186dd4ba55c51c91bb663e844151e278bbb2f.tar.gz
src-f96186dd4ba55c51c91bb663e844151e278bbb2f.zip
Fetch git .tar.gz for compatibility
OpenBSD tar(1) has no -J.
Diffstat (limited to '')
-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