From 2a2c701917ac40b8cb797281130fe99ebb49939b Mon Sep 17 00:00:00 2001 From: Etienne CHAMPETIER Date: Tue, 12 Aug 2014 23:38:24 +0200 Subject: [PATCH] freeradius2: enable freeradius2-mod-sql-mysql again compile tested only Signed-off-by: Etienne CHAMPETIER --- net/freeradius2/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile index d74eb0d75..f2d821efe 100644 --- a/net/freeradius2/Makefile +++ b/net/freeradius2/Makefile @@ -424,15 +424,15 @@ else CONFIGURE_ARGS+= --without-rlm_ldap endif -#ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-mysql),) -# CONFIGURE_ARGS+= \ -# --with-mysql-include-dir="$(STAGING_DIR)/usr/include" \ -# --with-mysql-lib-dir="$(STAGING_DIR)/usr/lib/mysql" -# CONFIGURE_LIBS+= -lz -# CONFIGURE_VARS+= ac_cv_lib_mysqlclient_r_mysql_init=yes -#else +ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-mysql),) + CONFIGURE_ARGS+= \ + --with-mysql-include-dir="$(STAGING_DIR)/usr/include" \ + --with-mysql-lib-dir="$(STAGING_DIR)/usr/lib/mysql" + CONFIGURE_LIBS+= -lz + CONFIGURE_VARS+= ac_cv_lib_mysqlclient_r_mysql_init=yes +else CONFIGURE_ARGS+= --without-rlm_sql_mysql -#endif +endif ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-pgsql),) CONFIGURE_ARGS+= \ @@ -618,7 +618,7 @@ $(eval $(call BuildPlugin,freeradius2-mod-pap,rlm_pap,modules/pap,modules,)) $(eval $(call BuildPlugin,freeradius2-mod-preprocess,rlm_preprocess,hints huntgroups modules/preprocess,modules,)) $(eval $(call BuildPlugin,freeradius2-mod-realm,rlm_realm,proxy.conf modules/realm modules/inner-eap,modules,)) $(eval $(call BuildPlugin,freeradius2-mod-sql,rlm_sql,sql.conf,)) -#$(eval $(call BuildPlugin,freeradius2-mod-sql-mysql,rlm_sql_mysql,)) +$(eval $(call BuildPlugin,freeradius2-mod-sql-mysql,rlm_sql_mysql,)) $(eval $(call BuildPlugin,freeradius2-mod-sql-pgsql,rlm_sql_postgresql,)) $(eval $(call BuildPlugin,freeradius2-mod-sql-sqlite,rlm_sql_sqlite,)) $(eval $(call BuildPlugin,freeradius2-mod-sqlcounter,rlm_sqlcounter,))