From: Yann E. MORIN Date: Sat, 9 Sep 2017 21:39:24 +0000 (+0200) Subject: package/asterisk: add optional freeradius-client dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a532b0291dda3442c43c56d8f5fb5b88e5307ea;p=buildroot.git package/asterisk: add optional freeradius-client dependency Signed-off-by: "Yann E. MORIN" Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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