aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2022-12-10 15:58:03 +0000
committerMatthias Andree <mandree@FreeBSD.org>2022-12-10 16:00:23 +0000
commit9e573ff0934a56d8eadd2c75be876b9392aae5b2 (patch)
tree23ffb607ed18de3520bcd207ddf3ce2a28fc8028
parenta6e00b38b3fb85594ea2452580cca5b870538670 (diff)
downloadports-9e573ff0934a56d8eadd2c75be876b9392aae5b2.tar.gz
ports-9e573ff0934a56d8eadd2c75be876b9392aae5b2.zip
security/libpwquality: fix poudriere build failures
libpwquality adds --single-version-externally-managed via files/patch-python_Makefile.in, which in turn requires up-to-date setuptools. Add this as PYTHON_BUILD_DEPENDS. Approved by: desktop@ (implicit, just-fix-it blanket)
-rw-r--r--security/libpwquality/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
index 54eced86a0bc..82df33990f35 100644
--- a/security/libpwquality/Makefile
+++ b/security/libpwquality/Makefile
@@ -28,9 +28,10 @@ OPTIONS_SUB= yes
NLS_USES= gettext gnome
NLS_USE= GNOME=intltool
NLS_CONFIGURE_ENABLE= nls
-PYTHON_USES= python:3.7+,build
+PYTHON_USES= python:3.7+,build
+PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
PYTHON_CONFIGURE_ENABLE= python-bindings
-PYTHON_CONFIGURE_ON= --with-python-binary=${PYTHON_CMD}
+PYTHON_CONFIGURE_ON= --with-python-binary=${PYTHON_CMD}
post-install-PYTHON-on:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality*.so