summaryrefslogtreecommitdiff
path: root/net/samba416/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba416/Makefile')
-rw-r--r--net/samba416/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/samba416/Makefile b/net/samba416/Makefile
index 0e4e23478edf..45eb0c63b280 100644
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -459,10 +459,10 @@ SAMBA4_MODULES+= auth_skel pdb_test gpext_security gpext_registry \
.endif
# Python bindings
.if ! ${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON)
-USES+= python:build,test
+USES+= python:build,test,-3.11
CONFIGURE_ARGS+= --disable-python
.else
-USES+= python
+USES+= python:-3.11
PLIST+= ${PKGDIR}/pkg-plist.python
# Don't cache Python modules
CONFIGURE_ARGS+= --nopycache