Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

URL: https://cgit.FreeBSD.org/ports/commit/?id=2cb99ec69435b0fcadb3c7b49bfbc42a28ce4328

commit 2cb99ec69435b0fcadb3c7b49bfbc42a28ce4328
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-04-21 19:50:23 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-04-21 19:50:23 +0000

    devel/py-dbus: Fix build with non-default Python version
---
 devel/py-dbus/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index 7a35ec8f7fd9..663df785de4b 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -21,7 +21,8 @@ SHEBANG_FILES=	test/run-test.sh \
 		test/*.py
 
 MESON_ARGS=	-Dtests=enabled \
-		-Dpython.bytecompile=1
+		-Dpython.bytecompile=1 \
+		-Dpython=${PYTHON_CMD}
 
 DOCSDIR=	${PREFIX}/share/doc/dbus-python
 EXAMPLESDIR=	${PREFIX}/share/examples/dbus-python
@@ -32,7 +33,7 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 OPTIONS_SUB=	yes
 
 DOCS_DESC=			Build and install HTML documentation (requires Sphinx)
-DOCS_BUILD_DEPENDS=		sphinx-build:textproc/py-sphinx \
+DOCS_BUILD_DEPENDS=		${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
 DOCS_MESON_ENABLED=		doc
 


home | help