From 5a532b0291dda3442c43c56d8f5fb5b88e5307ea Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 9 Sep 2017 23:39:24 +0200 Subject: [PATCH] package/asterisk: add optional freeradius-client dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/asterisk/asterisk.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index 5ccd451ceb..f5efdfaabb 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -84,7 +84,6 @@ ASTERISK_CONF_OPTS = \ --without-popt \ --without-pri \ --without-pwlib \ - --without-radius \ --without-resample \ --without-sdl \ --without-SDL_image \ @@ -191,6 +190,13 @@ else ASTERISK_CONF_OPTS += --without-portaudio endif +ifeq ($(BR2_PACKAGE_FREERADIUS_CLIENT),y) +ASTERISK_DEPENDENCIES += freeradius-client +ASTERISK_CONF_OPTS += --with-radius +else +ASTERISK_CONF_OPTS += --without-radius +endif + ifeq ($(BR2_PACKAGE_OPENSSL),y) ASTERISK_DEPENDENCIES += openssl ASTERISK_CONF_OPTS += --with-ssl -- 2.30.2