Try FLAVOR noldb

This commit is contained in:
Xavier Beaudouin
2024-01-23 17:38:49 +01:00
parent 97f38e1e10
commit 59697f02ca

View File

@ -103,6 +103,9 @@ USE_LDCONFIG= ${SAMBA4_LIBDIR}
WAF_CMD= buildtools/bin/waf WAF_CMD= buildtools/bin/waf
CONFIGURE_LOG= bin/config.log CONFIGURE_LOG= bin/config.log
FLAVORS= default noldb
nldb_PKGNAMESUFFIX= -noldb
# Make sure that the right version of Python is used by the tools # Make sure that the right version of Python is used by the tools
# https://bugzilla.samba.org/show_bug.cgi?id=7305 # https://bugzilla.samba.org/show_bug.cgi?id=7305
SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/* ${PATCH_WRKSRC}/selftest/* 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 " SUB_LIST+= SAMBA4_BUNDLED_TDB="@comment "
.endif .endif
# ldb # 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_LDB= yes
SAMBA4_BUNDLED_LIBS+= ldb SAMBA4_BUNDLED_LIBS+= ldb
PLIST_SUB+= SAMBA4_BUNDLED_LDB="" PLIST_SUB+= SAMBA4_BUNDLED_LDB=""