diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-09-13 14:29:57 +0200 |
---|---|---|
committer | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2017-09-24 13:46:20 +0200 |
commit | 6ee9dbcc7546f07d34498fac69934d3095e17d8d (patch) | |
tree | dc74cce6e0bbee87d677ceabaa75884380a811f5 | |
parent | 9131507795eed56261a31b91e91f51a6ad1b2869 (diff) | |
download | buildroot-6ee9dbcc7546f07d34498fac69934d3095e17d8d.tar.gz buildroot-6ee9dbcc7546f07d34498fac69934d3095e17d8d.zip |
package/ngircd: make zlib an optional dependency
zlib is not a hard dependency:
https://github.com/ngircd/ngircd/blob/master/configure.ng#L256
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
-rw-r--r-- | package/ngircd/Config.in | 1 | ||||
-rw-r--r-- | package/ngircd/ngircd.mk | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/package/ngircd/Config.in b/package/ngircd/Config.in index f1d8bea904..9b3d430922 100644 --- a/package/ngircd/Config.in +++ b/package/ngircd/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_NGIRCD bool "ngircd" depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_ZLIB help Next Generation IRC server deamon. diff --git a/package/ngircd/ngircd.mk b/package/ngircd/ngircd.mk index 06318a9df3..9fa30da24c 100644 --- a/package/ngircd/ngircd.mk +++ b/package/ngircd/ngircd.mk @@ -7,7 +7,6 @@ NGIRCD_VERSION = 24 NGIRCD_SOURCE = ngircd-$(NGIRCD_VERSION).tar.xz NGIRCD_SITE = https://arthur.barton.de/pub/ngircd -NGIRCD_DEPENDENCIES = zlib NGIRCD_LICENSE = GPL-2.0+ NGIRCD_LICENSE_FILES = COPYING @@ -24,4 +23,11 @@ NGIRCD_CONF_OPTS += --without-gnutls endif endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +NGIRCD_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr +NGIRCD_DEPENDENCIES += zlib +else +NGIRCD_CONF_OPTS += --without-zlib +endif + $(eval $(autotools-package)) |