]> git.pld-linux.org Git - packages/bacula.git/blame - bacula-64bitbuild_fix.patch
- patch to build with openssl-1.0.0
[packages/bacula.git] / bacula-64bitbuild_fix.patch
CommitLineData
13c86daa
MM
1--- bacula-3.0.0/autoconf/bacula-macros/db.m4.orig 2009-04-20 13:02:06.530168885 +0200
2+++ bacula-3.0.0/autoconf/bacula-macros/db.m4 2009-04-20 13:05:42.299890921 +0200
3@@ -35,26 +35,18 @@
4 AC_MSG_RESULT(no)
5 AC_MSG_ERROR(Unable to find dbi.h in standard locations)
6 fi
7- if test -d /usr/local/lib/dbd; then
8+ if test -d /usr/local/lib64/dbd; then
9+ DRIVERDIR=/usr/local/lib64/dbd
10+ elif test -d /usr/local/lib/dbd; then
11 DRIVERDIR=/usr/local/lib/dbd
12- if test -d /usr/local/lib64/dbd; then
13- DRIVERDIR=/usr/local/lib64/dbd
14- else
15- DRIVERDIR=/usr/local/lib/dbd
16- fi
17+ elif test -d /usr/lib64/dbd; then
18+ DRIVERDIR=/usr/lib64/dbd
19 elif test -d /usr/lib/dbd; then
20 DRIVERDIR=/usr/lib/dbd
21- if test -d /usr/lib64/dbd; then
22- DRIVERDIR=/usr/lib64/dbd
23- else
24- DRIVERDIR=/usr/lib/dbd
25- fi
26+ elif test -d $prefix/lib64/dbd; then
27+ DRIVERDIR=$prefix/lib64/dbd
28 elif test -d $prefix/lib/dbd; then
29- if test -d $prefix/lib64/dbd; then
30- DRIVERDIR=$prefix/lib64/dbd
31- else
32- DRIVERDIR=$prefix/lib/dbd
33- fi
34+ DRIVERDIR=$prefix/lib/dbd
35 else
36 AC_MSG_RESULT(no)
37 AC_MSG_ERROR(Unable to find DBD drivers in standard locations)
This page took 0.44332 seconds and 4 git commands to generate.