From 59697f02ca1d2605fae5232f68efbc0c65644d56 Mon Sep 17 00:00:00 2001 From: Xavier Beaudouin Date: Tue, 23 Jan 2024 17:38:49 +0100 Subject: [PATCH] Try FLAVOR noldb --- net/samba416/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/samba416/Makefile b/net/samba416/Makefile index 79b06f9..658c6a5 100644 --- a/net/samba416/Makefile +++ b/net/samba416/Makefile @@ -103,6 +103,9 @@ USE_LDCONFIG= ${SAMBA4_LIBDIR} WAF_CMD= buildtools/bin/waf CONFIGURE_LOG= bin/config.log +FLAVORS= default noldb +nldb_PKGNAMESUFFIX= -noldb + # Make sure that the right version of Python is used by the tools # https://bugzilla.samba.org/show_bug.cgi?id=7305 SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* ${PATCH_WRKSRC}/selftest/* @@ -251,7 +254,8 @@ PLIST_SUB+= SAMBA4_BUNDLED_TDB="@comment " SUB_LIST+= SAMBA4_BUNDLED_TDB="@comment " .endif # ldb -.if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes +#.if defined(SAMBA4_BUNDLED_LDB) && ${SAMBA4_BUNDLED_LDB} == yes +.if ${FLAVOR:U} != noldb SAMBA4_BUNDLED_LDB= yes SAMBA4_BUNDLED_LIBS+= ldb PLIST_SUB+= SAMBA4_BUNDLED_LDB=""