git: 41076ad5ff58 - main - net/samba422: Remove the NO_PYTHON knob
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 22:31:05 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=41076ad5ff58c692ad5b8fdf7180609a4dfa4d78
commit 41076ad5ff58c692ad5b8fdf7180609a4dfa4d78
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-12-10 22:26:51 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-12-10 22:29:54 +0000
net/samba422: Remove the NO_PYTHON knob
Users should use the PYTHON3 option to disable Python.
---
net/samba422/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index e64cd5e26c41..1d2c6d185876 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -430,7 +430,7 @@ SAMBA4_MODULES+= auth_skel pdb_test gpext_security gpext_registry \
vfs_nfs4acl_xattr vfs_error_inject vfs_delay_inject
.endif
# Python bindings
-.if ! ${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON)
+.if ! ${PORT_OPTIONS:MPYTHON3}
USES+= python:build,test
CONFIGURE_ARGS+= --disable-python
.else
@@ -577,7 +577,7 @@ post-patch:
# Use threading (or multiprocessing) but not thread (renamed in python 3+).
pre-configure:
-.if (!${PORT_OPTIONS:MPYTHON3} || defined(NO_PYTHON)) && ${PORT_OPTIONS:MAD_DC}
+.if !${PORT_OPTIONS:MPYTHON3} && ${PORT_OPTIONS:MAD_DC}
@${ECHO_CMD}; \
${ECHO_MSG} "===> AD_DC option requires PYTHON3 to be set"; \
${ECHO_CMD}; \