aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2017-09-13 14:29:56 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-24 13:46:20 +0200
commit9131507795eed56261a31b91e91f51a6ad1b2869 (patch)
tree8864eb25bd8c8b19e4d8fd5c26d4fb86445b1228 /package
parent8bda664765b808228b1c8b6434e23cf32ef75c1e (diff)
downloadbuildroot-9131507795eed56261a31b91e91f51a6ad1b2869.tar.gz
buildroot-9131507795eed56261a31b91e91f51a6ad1b2869.tar.bz2
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 <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package')
-rw-r--r--package/ngircd/ngircd.mk6
1 files changed, 6 insertions, 0 deletions
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))