From 84d2791e40a359a8f6c360f6ed1d6476f4b8d46e Mon Sep 17 00:00:00 2001 From: Jate Sujjavanich Date: Mon, 7 Apr 2014 11:47:02 -0400 Subject: [PATCH] samba: Add talloc PACKAGECONFIG * fix DEPENDS which was triggering rebuild Use PACKAGECONFIG to properly provide the option for libtalloc Signed-off-by: Jate Sujjavanich Signed-off-by: Martin Jansa --- meta-oe/recipes-connectivity/samba/samba.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc index 87352a1cbd..59c671276a 100644 --- a/meta-oe/recipes-connectivity/samba/samba.inc +++ b/meta-oe/recipes-connectivity/samba/samba.inc @@ -1,6 +1,6 @@ SECTION = "console/network" LICENSE = "GPL-3.0" -DEPENDS = "readline virtual/libiconv talloc zlib popt" +DEPENDS = "readline virtual/libiconv zlib popt" SRC_URI = "http://samba.org/samba/ftp/stable/samba-${PV}.tar.gz \ file://volatiles.03_samba \ @@ -35,7 +35,6 @@ EXTRA_OECONF='--disable-cups \ --with-aio-support \ --with-winbind \ --with-wbclient \ - --without-libtalloc \ --without-acl-support \ --disable-avahi \ samba_cv_struct_timespec=yes \ @@ -44,6 +43,7 @@ EXTRA_OECONF='--disable-cups \ PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam" PACKAGECONFIG[fam] = "--enable-fam,--disable-fam,gamin" +PACKAGECONFIG[talloc] = "--with-libtalloc,--without-libtalloc,talloc" INITSCRIPT_PACKAGES = "samba winbind" INITSCRIPT_NAME_samba = "samba"