summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-03-13 08:04:14 -0700
committerCy Schubert <cy@FreeBSD.org>2023-03-13 08:08:38 -0700
commit20f895af04b0e2ab425dfc376fd6ffdd27841989 (patch)
treec389f3e429a4ff002066a7234a43b41223260728 /sysutils
parent283da459379c602a10e65bdc9c7de8d10a717520 (diff)
downloadfreebsd-ports-20f895af04b0e2ab425dfc376fd6ffdd27841989.zip
sysutils/syslog-ng: Fix PYTHON=ON build
PYTHON=ON requires devel/py-setuptools to build properly. PR: 270153 Submitted by: Christian Ulrich <chris _AT_ chrullrich.net> Reviewed by: Peter Czanik <peter.czanik _AT_ balabit.com>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/syslog-ng/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile
index 1575366f08ee..8b5fb0ac6303 100644
--- a/sysutils/syslog-ng/Makefile
+++ b/sysutils/syslog-ng/Makefile
@@ -149,6 +149,7 @@ JAVA_MOD_PLIST_FILES= lib/syslog-ng/java-modules/log4j-api-2.17.2.jar \
lib/syslog-ng/java-modules/syslog-ng-common.jar
PYTHON_USES= python:3.5+
+PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
PYTHON_CONFIGURE_ON= --enable-python
PYTHON_CONFIGURE_OFF= --disable-python
PYTHON_PLIST_FILES= lib/syslog-ng/libmod-python.so \