[Buildroot] [git commit] package/ngircd: add optional support for gnutls
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sun Sep 24 11:46:20 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=9131507795eed56261a31b91e91f51a6ad1b2869
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 <bernd.kuhls at t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
package/ngircd/ngircd.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk
index 2ab9187..06318a9 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))
More information about the buildroot
mailing list