Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH/next 1/2] package/sudo: add optional support for zlib
@ 2016-11-05 15:57 Bernd Kuhls
  2016-11-05 15:57 ` [Buildroot] [PATCH/next 2/2] package/sudo: bump version to 1.8.18p1 Bernd Kuhls
  2016-11-05 22:32 ` [Buildroot] [PATCH/next 1/2] package/sudo: add optional support for zlib Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-11-05 15:57 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/sudo/sudo.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk
index f28312a..89859dd 100644
--- a/package/sudo/sudo.mk
+++ b/package/sudo/sudo.mk
@@ -30,6 +30,13 @@ else
 SUDO_CONF_OPTS += --without-pam
 endif
 
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+SUDO_CONF_OPTS += --enable-zlib
+SUDO_DEPENDENCIES += zlib
+else
+SUDO_CONF_OPTS += --disable-zlib
+endif
+
 # mksigname/mksiglist needs to run on build host to generate source files
 define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST
 	$(MAKE) $(HOST_CONFIGURE_OPTS) \
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-05 22:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-05 15:57 [Buildroot] [PATCH/next 1/2] package/sudo: add optional support for zlib Bernd Kuhls
2016-11-05 15:57 ` [Buildroot] [PATCH/next 2/2] package/sudo: bump version to 1.8.18p1 Bernd Kuhls
2016-11-05 22:32 ` [Buildroot] [PATCH/next 1/2] package/sudo: add optional support for zlib Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox