From 2b9d07fb5d4c334d14966e1ee599d7fcbb42fdeb Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 21 May 2014 13:47:44 +0200 Subject: [PATCH] python2: Fix disabling module bsddb Using this minimal defconfig BR2_TOOLCHAIN_EXTERNAL=y BR2_PACKAGE_PYTHON=y BR2_PACKAGE_BERKELEYDB=y the current code does not prevent the build of output/build/python-2.7.6/Modules/_bsddb.o because the module is really called _bsddb, see python-2.7.6/Modules/_bsddb.c, line 9604. Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- package/python/python-110-optional-db.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/python/python-110-optional-db.patch b/package/python/python-110-optional-db.patch index ea756daa8f..a3e5fe8efc 100644 --- a/package/python/python-110-optional-db.patch +++ b/package/python/python-110-optional-db.patch @@ -70,7 +70,7 @@ Index: b/configure.ac + AS_HELP_STRING([--disable-bsddb], [disable BerkeyleyDB]), + [ if test "$enableval" = "no"; then + BSDDB=no -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bsddb" ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bsddb" + else + BSDDB=yes + fi], [ BSDDB=yes ]) -- 2.30.2