git: 7dcaad3a56ad - main - net/samba422: Do not check for Python in pre-configure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 22:31:06 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7dcaad3a56adcbf086eb0addab6ac0f98e4e8189
commit 7dcaad3a56adcbf086eb0addab6ac0f98e4e8189
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-12-10 22:26:52 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-12-10 22:29:55 +0000
net/samba422: Do not check for Python in pre-configure
The port is already using AD_DC_IMPLIES=PYTHON3 to require Python when
the AD_DC option is on.
---
net/samba422/Makefile | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index 1d2c6d185876..e2cb9d567299 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -575,15 +575,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%SAMBA4_CONFIG%%|${SAMBA4_CONFIG}|g' \
${PATCH_WRKSRC}/dynconfig/wscript
-# Use threading (or multiprocessing) but not thread (renamed in python 3+).
-pre-configure:
-.if !${PORT_OPTIONS:MPYTHON3} && ${PORT_OPTIONS:MAD_DC}
- @${ECHO_CMD}; \
- ${ECHO_MSG} "===> AD_DC option requires PYTHON3 to be set"; \
- ${ECHO_CMD}; \
- ${FALSE}
-.endif
-
post-install-rm-junk:
${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/samba/third_party
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name __pycache__ \