From: Bernd Kuhls Date: Wed, 13 Sep 2017 12:29:55 +0000 (+0200) Subject: package/ngircd: add optional dependency to openssl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bda664765b808228b1c8b6434e23cf32ef75c1e;p=buildroot.git package/ngircd: add optional dependency to openssl 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 5f03b66001..2ab9187c8e 100644 --- a/package/ngircd/ngircd.mk +++ b/package/ngircd/ngircd.mk @@ -11,4 +11,11 @@ NGIRCD_DEPENDENCIES = zlib NGIRCD_LICENSE = GPL-2.0+ NGIRCD_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NGIRCD_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr +NGIRCD_DEPENDENCIES += openssl +else +NGIRCD_CONF_OPTS += --without-openssl +endif + $(eval $(autotools-package))