pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/freeradius-python freeradius-python: fix build
details: https://anonhg.NetBSD.org/pkgsrc/rev/c11b72929209
branches: trunk
changeset: 384588:c11b72929209
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Sep 01 20:23:23 2022 +0000
description:
freeradius-python: fix build
Bump PKGREVISION.
diffstat:
net/freeradius-python/Makefile | 17 ++++++++++-------
net/freeradius-python/PLIST | 4 ++--
2 files changed, 12 insertions(+), 9 deletions(-)
diffs (41 lines):
diff -r 2c798148ebb6 -r c11b72929209 net/freeradius-python/Makefile
--- a/net/freeradius-python/Makefile Thu Sep 01 20:22:02 2022 +0000
+++ b/net/freeradius-python/Makefile Thu Sep 01 20:23:23 2022 +0000
@@ -1,19 +1,22 @@
-# $NetBSD: Makefile,v 1.6 2022/06/30 11:18:41 nia Exp $
+# $NetBSD: Makefile,v 1.7 2022/09/01 20:23:23 wiz Exp $
-PKGREVISION= 1
+PKGREVISION= 2
.include "../../net/freeradius/Makefile.module"
PKGNAME= ${DISTNAME:S/-server/-python/}
COMMENT= Free RADIUS rlm_python module
-CONFIGURE_ARGS+= --with-rlm_python
-CONFIGURE_ARGS+= --with-rlm-python-bin=${PYTHONBIN}
-CONFIGURE_ARGS+= --without-rlm_ldap
-CONFIGURE_ARGS+= --without-rlm_yubikey
+CONFIGURE_ARGS+= --with-modules=rlm_python3
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+pre-configure:
+ cd ${BUILDLINK_DIR}/bin && ${LN} -s ${PREFIX}/bin/python${PYVERSSUFFIX}-config python3-config
do-install:
- ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_python.${SOEXT} \
+ ${INSTALL_LIB} ${WRKSRC}/build/lib/.libs/rlm_python3.${SOEXT} \
${DESTDIR}${PREFIX}/lib
.include "../../lang/python/pyversion.mk"
+.include "../../lang/python/tool.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 2c798148ebb6 -r c11b72929209 net/freeradius-python/PLIST
--- a/net/freeradius-python/PLIST Thu Sep 01 20:22:02 2022 +0000
+++ b/net/freeradius-python/PLIST Thu Sep 01 20:23:23 2022 +0000
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.2 2019/07/04 07:44:53 adam Exp $
-lib/rlm_python.${SOEXT}
+@comment $NetBSD: PLIST,v 1.3 2022/09/01 20:23:23 wiz Exp $
+lib/rlm_python3.${SOEXT}
Home |
Main Index |
Thread Index |
Old Index