summarylogtreecommitdiffstats
path: root/syslog-ng-do-not-install-python-venv.patch
blob: c3d65782305ae7c3767944193447fd98703afbe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git i/modules/python-modules/Makefile.am w/modules/python-modules/Makefile.am
index 788cbd354..62e392062 100644
--- i/modules/python-modules/Makefile.am
+++ w/modules/python-modules/Makefile.am
@@ -103,7 +103,7 @@ pymodules-install: pymodules-install-requirements python-venv
 	$(install_sh_DATA) $(top_srcdir)/requirements.txt "$(PYTHON_ROOT)/$(python_moduledir)/requirements.txt"
 
 pymodules-install-requirements: python-venv
-	if [ "$(with_python_packages)" != "none" ]; then \
+	if [ "$(with_python_packages)" == "venv" ]; then \
 		(cd $(PYMODULES_SRCDIR) && \
 		 mkdir -p $(PYMODULES_BUILDDIR) && \
 	         $(PYTHON_VENV) setup.py egg_info --egg-base="$(PYMODULES_BUILDDIR)"  && \