diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-21 14:00:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-21 14:00:13 +0000 |
commit | 2075cb72ac072d658f68c15e1f0e1e41b1e96233 (patch) | |
tree | e13c6591b132cf6ed3faedff79ed4717a1d0767d /meta/packages/apt/files | |
parent | a4b8304b62d6bf4b522769d5d9283050a5e63f3c (diff) | |
download | openembedded-core-2075cb72ac072d658f68c15e1f0e1e41b1e96233.tar.gz openembedded-core-2075cb72ac072d658f68c15e1f0e1e41b1e96233.tar.bz2 openembedded-core-2075cb72ac072d658f68c15e1f0e1e41b1e96233.tar.xz openembedded-core-2075cb72ac072d658f68c15e1f0e1e41b1e96233.zip |
apt: Add db/db-native as a DEPENDS so apt-ftparchive gets built (needed by deb rootfs creation
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2531 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/apt/files')
-rw-r--r-- | meta/packages/apt/files/db_linking_hack.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/apt/files/db_linking_hack.patch b/meta/packages/apt/files/db_linking_hack.patch new file mode 100644 index 000000000..3c8368b1e --- /dev/null +++ b/meta/packages/apt/files/db_linking_hack.patch @@ -0,0 +1,27 @@ +Index: apt-0.7.3/configure.in +=================================================================== +--- apt-0.7.3.orig/configure.in 2007-07-01 10:38:45.000000000 +0000 ++++ apt-0.7.3/configure.in 2007-08-21 13:39:26.000000000 +0000 +@@ -67,8 +67,20 @@ + [AC_DEFINE(HAVE_BDB) + BDBLIB="-ldb" + AC_MSG_RESULT(yes)], +- [BDBLIB="" +- AC_MSG_RESULT(no)] ++ ++ LIBS="$LIBS -lpthread" ++ [AC_MSG_CHECKING(if we can link against BerkeleyDB with pthread) ++ AC_LINK_IFELSE( ++ [AC_LANG_PROGRAM( ++ [#include <db.h>], ++ [int r, s, t; db_version(&r, &s, &t);] ++ )], ++ [AC_DEFINE(HAVE_BDB) ++ BDBLIB="-ldb -lpthread" ++ AC_MSG_RESULT(yes)], ++ [BDBLIB="" ++ AC_MSG_RESULT(no)] ++ )] + )] + ) + |