From: Bernd Kuhls Date: Wed, 13 Sep 2017 12:29:56 +0000 (+0200) Subject: package/ngircd: add optional support for gnutls X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9131507795eed56261a31b91e91f51a6ad1b2869;p=buildroot.git package/ngircd: add optional support for gnutls openssl and gnutls can not be enabled at the same time: https://github.com/ngircd/ngircd/blob/master/configure.ng#L449 Signed-off-by: Bernd Kuhls Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk index 2ab9187c8e..06318a9df3 100644 --- a/package/ngircd/ngircd.mk +++ b/package/ngircd/ngircd.mk @@ -16,6 +16,12 @@ NGIRCD_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr NGIRCD_DEPENDENCIES += openssl else NGIRCD_CONF_OPTS += --without-openssl +ifeq ($(BR2_PACKAGE_GNUTLS),y) +NGIRCD_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr +NGIRCD_DEPENDENCIES += gnutls +else +NGIRCD_CONF_OPTS += --without-gnutls +endif endif $(eval $(autotools-package))