pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/freeradius-python



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Sep  1 20:23:23 UTC 2022

Modified Files:
        pkgsrc/net/freeradius-python: Makefile PLIST

Log Message:
freeradius-python: fix build

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/freeradius-python/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/freeradius-python/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/freeradius-python/Makefile
diff -u pkgsrc/net/freeradius-python/Makefile:1.6 pkgsrc/net/freeradius-python/Makefile:1.7
--- pkgsrc/net/freeradius-python/Makefile:1.6   Thu Jun 30 11:18:41 2022
+++ pkgsrc/net/freeradius-python/Makefile       Thu Sep  1 20:23:23 2022
@@ -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"

Index: pkgsrc/net/freeradius-python/PLIST
diff -u pkgsrc/net/freeradius-python/PLIST:1.2 pkgsrc/net/freeradius-python/PLIST:1.3
--- pkgsrc/net/freeradius-python/PLIST:1.2      Thu Jul  4 07:44:53 2019
+++ pkgsrc/net/freeradius-python/PLIST  Thu Sep  1 20:23:23 2022
@@ -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