Patchwork [15/18] sudo: add PACKAGECONFIG for zlib

login
register
mail settings
Submitter Martin Jansa
Date July 24, 2013, 12:02 p.m.
Message ID <8ad16685c921eb35800987d7e7571f4c500cb8a9.1374667312.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/54335/
State Accepted
Commit 871d9d264dbf43ca4a7d000f39253d16854c0bd3
Headers show

Comments

Martin Jansa - July 24, 2013, 12:02 p.m.
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-extended/sudo/sudo.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
index 9dcb677..ef2367a 100644
--- a/meta/recipes-extended/sudo/sudo.inc
+++ b/meta/recipes-extended/sudo/sudo.inc
@@ -13,6 +13,9 @@  LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=d25a8240ca6decdecb9990789e593130 \
 
 inherit autotools
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
+
 EXTRA_OECONF = "--with-editor=/bin/vi --with-env-editor"
 
 do_configure_prepend () {