All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] python2: Fix disabling module bsddb
@ 2014-05-21 11:47 Bernd Kuhls
  2014-05-26 10:23 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2014-05-21 11:47 UTC (permalink / raw)
  To: buildroot

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 <bernd.kuhls@t-online.de>
---
 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 ea756da..a3e5fe8 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 ])
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] python2: Fix disabling module bsddb
  2014-05-21 11:47 [Buildroot] [PATCH 1/1] python2: Fix disabling module bsddb Bernd Kuhls
@ 2014-05-26 10:23 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2014-05-26 10:23 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > 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 <bernd.kuhls@t-online.de>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-26 10:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-21 11:47 [Buildroot] [PATCH 1/1] python2: Fix disabling module bsddb Bernd Kuhls
2014-05-26 10:23 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.