From 6ef7168c4a4716299cf77cb896288fe23b426939 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 7 Jul 2008 13:15:18 +0000 Subject: [PATCH] ebl Add libdb to mingw32 for accurate backup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7331 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/External-mingw32 | 2 ++ bacula/src/win32/build-depkgs-mingw32 | 15 +++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/bacula/src/win32/External-mingw32 b/bacula/src/win32/External-mingw32 index 7dbfeb849c..b5b37c490c 100644 --- a/bacula/src/win32/External-mingw32 +++ b/bacula/src/win32/External-mingw32 @@ -39,6 +39,7 @@ SQLITE|http://www.bacula.org/depkgs-mingw32/sqlite-3.3.17.tar.gz STAB2CV|http://www.bacula.org/depkgs-mingw32/stab2cv-0.1.tar.bz2 WX|http://www.bacula.org/depkgs-mingw32/wxWidgets-2.8.7.tar.gz ZLIB|http://www.bacula.org/depkgs-mingw32/zlib-1.2.3.tar.gz +DB|http://www.bacula.org/depkgs-mingw32/db-4.7.25.tar.gz # # # Original file locations @@ -64,3 +65,4 @@ ZLIB|http://www.bacula.org/depkgs-mingw32/zlib-1.2.3.tar.gz # STAB2CV|http://superb-west.dl.sourceforge.net/sourceforge/stab2cv/stab2cv-0.1.tar.bz2 # WX|http://superb-west.dl.sourceforge.net/sourceforge/wxwindows/wxWidgets-2.7.0.tar.gz # ZLIB|http://www.zlib.net/zlib-1.2.3.tar.gz +# DB|http://download.oracle.com/berkeley-db/db-4.7.25.tar.gz diff --git a/bacula/src/win32/build-depkgs-mingw32 b/bacula/src/win32/build-depkgs-mingw32 index 046813ac6c..eb55c47bea 100755 --- a/bacula/src/win32/build-depkgs-mingw32 +++ b/bacula/src/win32/build-depkgs-mingw32 @@ -197,6 +197,21 @@ process_pcre() do_make Makefile PREFIX=${DEPPKG_DIR} install } +process_db() +{ + if get_source "${URL_DB}" "${DIR_DB}" "${MKD_DB}" + then + echo No Patch + fi + cd build_unix + ../dist/configure --host=mingw32 --enable-mingw --prefix=${DEPPKG_DIR} + > make.log + echo Building DB + do_make Makefile + echo Installing DB + do_make Makefile install_setup install_include install_lib +} + process_pthreads() { if get_source "${URL_PTHREADS}" "${DIR_PTHREADS}" "${MKD_PTHREADS}" -- 2.39.5