summaryrefslogtreecommitdiff
path: root/net/freeradius2/Makefile
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-08-06 11:32:41 +0200
committerSteven Barth <steven@midlink.org>2014-08-06 11:32:41 +0200
commit6e18ae07cc9b241681439e2f8a8c20f81f7a96b6 (patch)
tree171058dc0db6e1849c577a4b8b4bbd55eb588d6d /net/freeradius2/Makefile
parent3c78eaff96d7ba286bb0404b9bdc1a2c6aca7ec0 (diff)
freeradius2: reenable ldap-module as openldap was merged
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'net/freeradius2/Makefile')
-rw-r--r--net/freeradius2/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/net/freeradius2/Makefile b/net/freeradius2/Makefile
index 194913d17..57bbfd697 100644
--- a/net/freeradius2/Makefile
+++ b/net/freeradius2/Makefile
@@ -415,14 +415,14 @@ PKG_DICTIONARIES:= \
microsoft \
wispr \
-#ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-ldap),)
-# CONFIGURE_ARGS+= \
-# --with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
-# --with-rlm_ldap-lib-dir="$(STAGING_DIR)/usr/lib"
-# CONFIGURE_LIBS+= -lcrypto -lssl
-#else
+ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-ldap),)
+ CONFIGURE_ARGS+= \
+ --with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
+ --with-rlm_ldap-lib-dir="$(STAGING_DIR)/usr/lib"
+ CONFIGURE_LIBS+= -lcrypto -lssl
+else
CONFIGURE_ARGS+= --without-rlm_ldap
-#endif
+endif
#ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius2-mod-sql-mysql),)
# CONFIGURE_ARGS+= \
@@ -612,7 +612,7 @@ $(eval $(call BuildPlugin,freeradius2-mod-exec,rlm_exec,modules/exec modules/ech
$(eval $(call BuildPlugin,freeradius2-mod-attr-rewrite,rlm_attr_rewrite,modules/attr_rewrite,modules,))
$(eval $(call BuildPlugin,freeradius2-mod-files,rlm_files,acct_users preproxy_users users modules/files,modules,))
$(eval $(call BuildPlugin,freeradius2-mod-passwd,rlm_passwd,modules/passwd,modules,))
-#$(eval $(call BuildPlugin,freeradius2-mod-ldap,rlm_ldap,ldap.attrmap modules/ldap,modules,))
+$(eval $(call BuildPlugin,freeradius2-mod-ldap,rlm_ldap,ldap.attrmap modules/ldap,modules,))
$(eval $(call BuildPlugin,freeradius2-mod-mschap,rlm_mschap,modules/mschap,modules,))
$(eval $(call BuildPlugin,freeradius2-mod-pap,rlm_pap,modules/pap,modules,))
$(eval $(call BuildPlugin,freeradius2-mod-preprocess,rlm_preprocess,hints huntgroups modules/preprocess,modules,))