projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1ab8a7d
)
fix freeradius SDK builds
author
Nicolas Thill
<nico@openwrt.org>
Wed, 28 Mar 2007 17:05:00 +0000
(17:05 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Wed, 28 Mar 2007 17:05:00 +0000
(17:05 +0000)
SVN-Revision: 6743
net/freeradius/Makefile
patch
|
blob
|
history
diff --git
a/net/freeradius/Makefile
b/net/freeradius/Makefile
index bbb413277271d8fabb19af353c9d691470d52be4..335127ef94951074b25b5f0077a36b04eef727aa 100644
(file)
--- a/
net/freeradius/Makefile
+++ b/
net/freeradius/Makefile
@@
-237,14
+237,7
@@
PKG_DICTIONARIES:= \
microsoft \
wispr \
microsoft \
wispr \
-ifneq ($(SDK),)
-# Make sure the options below are enabled when building with the SDK
- CONFIG_PACKAGE_freeradius-mod-ldap:=m
- CONFIG_PACKAGE_freeradius-mod-sql-mysql:=m
- CONFIG_PACKAGE_freeradius-mod-sql-pgsql:=m
-endif
-
-ifneq ($(CONFIG_PACKAGE_freeradius-mod-ldap),)
+ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius-mod-ldap),)
PKG_CONFIGURE_LIBS+= -lcrypto -lssl
PKG_CONFIGURE_OPTIONS+= \
--with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
PKG_CONFIGURE_LIBS+= -lcrypto -lssl
PKG_CONFIGURE_OPTIONS+= \
--with-rlm_ldap-include-dir="$(STAGING_DIR)/usr/include" \
@@
-253,7
+246,7
@@
else
PKG_CONFIGURE_OPTIONS+= --without-rlm_ldap
endif
PKG_CONFIGURE_OPTIONS+= --without-rlm_ldap
endif
-ifneq ($(CONFIG_PACKAGE_freeradius-mod-sql-mysql),)
+ifneq ($(
SDK)$(
CONFIG_PACKAGE_freeradius-mod-sql-mysql),)
PKG_CONFIGURE_LIBS+= -lz
PKG_CONFIGURE_OPTIONS+= \
--with-mysql-include-dir="$(STAGING_DIR)/usr/include" \
PKG_CONFIGURE_LIBS+= -lz
PKG_CONFIGURE_OPTIONS+= \
--with-mysql-include-dir="$(STAGING_DIR)/usr/include" \
@@
-263,7
+256,7
@@
else
PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_mysql
endif
PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_mysql
endif
-ifneq ($(CONFIG_PACKAGE_freeradius-mod-sql-pgsql),)
+ifneq ($(
SDK)$(
CONFIG_PACKAGE_freeradius-mod-sql-pgsql),)
PKG_CONFIGURE_OPTIONS+= \
--with-rlm_sql_postgresql-include-dir="$(STAGING_DIR)/usr/include" \
--with-rlm_sql_postgresql-lib-dir="$(STAGING_DIR)/usr/lib"
PKG_CONFIGURE_OPTIONS+= \
--with-rlm_sql_postgresql-include-dir="$(STAGING_DIR)/usr/include" \
--with-rlm_sql_postgresql-lib-dir="$(STAGING_DIR)/usr/lib"
@@
-271,19
+264,19
@@
else
PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_postgresql
endif
PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_postgresql
endif
-ifneq ($(
CONFIG_PACKAGE_freeradius-mod-eap-tls
),)
- PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_
tls
+ifneq ($(
SDK)$(CONFIG_PACKAGE_freeradius-mod-eap-peap
),)
+ PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_
peap
else
else
- PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_
tls
+ PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_
peap
endif
endif
-ifneq ($(
CONFIG_PACKAGE_freeradius-mod-eap-peap
),)
- PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_
peap
+ifneq ($(
SDK)$(CONFIG_PACKAGE_freeradius-mod-eap-tls
),)
+ PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_
tls
else
else
- PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_
peap
+ PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_
tls
endif
endif
-ifneq ($(CONFIG_PACKAGE_freeradius-mod-eap-ttls),)
+ifneq ($(
SDK)$(
CONFIG_PACKAGE_freeradius-mod-eap-ttls),)
PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_ttls
else
PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_ttls
PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_ttls
else
PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_ttls