[Buildroot] [git commit] package/freeradius-server: fix python handling
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Nov 6 22:07:57 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=4513f5198a8f24af7bd24fdfc1ede143eb4e844a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
python handling is wrong since the addition of the package in commit
736c4c1655d93652a9a7e79235bbe726b3d46176 so disable python(2) and enable
python3 if needed
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/freeradius-server/freeradius-server.mk | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk
index e493f7a17e..107eaf3ee4 100644
--- a/package/freeradius-server/freeradius-server.mk
+++ b/package/freeradius-server/freeradius-server.mk
@@ -46,6 +46,7 @@ FREERADIUS_SERVER_CONF_OPTS += \
--without-rlm_eap_ike \
--without-rlm_eap_tnc \
--without-rlm_perl \
+ --without-rlm_python \
--without-rlm_sql_iodbc \
--without-rlm_sql_oracle \
--without-rlm_sql_freetds \
@@ -148,10 +149,10 @@ FREERADIUS_SERVER_CONF_OPTS += --without-pcre
endif
ifeq ($(BR2_PACKAGE_PYTHON3),y)
-FREERADIUS_SERVER_CONF_OPTS += --with-rlm_python
+FREERADIUS_SERVER_CONF_OPTS += --with-rlm_python3
FREERADIUS_SERVER_DEPENDENCIES += python3
else
-FREERADIUS_SERVER_CONF_OPTS += --without-rlm_python
+FREERADIUS_SERVER_CONF_OPTS += --without-rlm_python3
endif
ifeq ($(BR2_PACKAGE_READLINE),y)
More information about the buildroot
mailing list