1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-15 13:16:38 +00:00
termux-packages/packages/fetchmail/fetchmailconf-exec-python.patch
Tee KOBAYASHI f3ef0e30ab fetchmail: Bump to 6.4.33
Separate `fetchmailconf` as a subpackage.
2022-09-27 12:15:18 +09:00

23 lines
900 B
Diff

--- a/Makefile.am
+++ b/Makefile.am
@@ -207,7 +207,7 @@
Doxyfile
fetchmailconf:
- ( echo '#! /bin/sh' && echo 'exec @PYTHON@ @pythondir@/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@
+ ( echo '#! /bin/sh' && echo 'exec python @pythondir@/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@
FAQ: fetchmail-FAQ.html $(srcdir)/dist-tools/html2txt
AWK=$(AWK) $(SHELL) $(srcdir)/dist-tools/html2txt $(srcdir)/fetchmail-FAQ.html >$@
--- a/Makefile.in
+++ b/Makefile.in
@@ -2375,7 +2375,7 @@
$(srcdir)/specgen.sh $(VERSION) >fetchmail.spec
fetchmailconf:
- ( echo '#! /bin/sh' && echo 'exec @PYTHON@ @pythondir@/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@
+ ( echo '#! /bin/sh' && echo 'exec python @pythondir@/fetchmailconf.py "$$@"' ) >$@ && chmod +x $@
FAQ: fetchmail-FAQ.html $(srcdir)/dist-tools/html2txt
AWK=$(AWK) $(SHELL) $(srcdir)/dist-tools/html2txt $(srcdir)/fetchmail-FAQ.html >$@