myold/net-mail/fetchmail/files/fetchmail-6.3.26-python-optional.patch

15 lines
255 B
Diff

--- a/Makefile.am
+++ b/Makefile.am
@@ -16,9 +16,11 @@
pys= fetchmailconf.py
pym= fetchmailconf.man
+if HAVE_PYTHON
nodist_bin_SCRIPTS= fetchmailconf
python_PYTHON= $(pys)
dist_man1_MANS+= $(pym)
+endif
CLEANFILES= $(nodist_bin_SCRIPTS)