diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-07-29 11:51:31 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-07-29 11:51:31 +0000 |
commit | 140a199c01516682b7ecce223da033974dabffb2 (patch) | |
tree | e3d3b433810517ecea6ce955259858110511c940 /kde-base/kbabel/files | |
parent | Add support for Berkeley DB. (diff) | |
download | gentoo-2-140a199c01516682b7ecce223da033974dabffb2.tar.gz gentoo-2-140a199c01516682b7ecce223da033974dabffb2.tar.bz2 gentoo-2-140a199c01516682b7ecce223da033974dabffb2.zip |
Add support for Berkeley DB.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'kde-base/kbabel/files')
-rw-r--r-- | kde-base/kbabel/files/configure-fix-kdesdk-db-3.4.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-base/kbabel/files/configure-fix-kdesdk-db-3.4.patch b/kde-base/kbabel/files/configure-fix-kdesdk-db-3.4.patch new file mode 100644 index 000000000000..1b60cff7ab08 --- /dev/null +++ b/kde-base/kbabel/files/configure-fix-kdesdk-db-3.4.patch @@ -0,0 +1,26 @@ +diff -Nur kdesdk-3.4.2.orig/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in kdesdk-3.4.2/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in +--- kdesdk-3.4.2.orig/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in 2005-05-23 14:08:28.000000000 +0200 ++++ kdesdk-3.4.2/kbabel/kbabeldict/modules/dbsearchengine/configure.in.in 2005-07-29 13:41:27.000000000 +0200 +@@ -1,3 +1,10 @@ ++AC_ARG_WITH(berkeley-db, ++ [AC_HELP_STRING(--with-berkeley-db, ++ [enable the dictionary plugin based on Berkeley DB IV @<:@default=check@:>@])], ++ [], with_berkeley_db=check) ++ ++LIB_DBIV="" ++if test "x$with_berkeley_db" != xno; then + + AC_MSG_CHECKING([for Berkeley Database IV]) + +@@ -122,6 +129,11 @@ + DBIV_INCLUDES="$ac_db_includes" + DBIV_NAME="$ac_db_name" + ++if test "x$with_berkeley_db" != xcheck && test -z "$LIB_DBIV"; then ++ AC_MSG_ERROR([--with-berkeley-db was given, but test for Berkeley DB IV failed]) ++fi ++fi ++ + AC_SUBST(DBIV_INCLUDES) + AC_SUBST(DBIV_LDFLAGS) + AC_SUBST(DBIV_NAME) |