]> git.pld-linux.org Git - packages/bacula.git/commitdiff
- Fix build on 64bit systems with bdi. Will send upstream in a bit.
authorMariusz Mazur <mmazur@pld-linux.org>
Mon, 20 Apr 2009 11:11:17 +0000 (11:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bacula-64bitbuild_fix.patch -> 1.1

bacula-64bitbuild_fix.patch [new file with mode: 0644]

diff --git a/bacula-64bitbuild_fix.patch b/bacula-64bitbuild_fix.patch
new file mode 100644 (file)
index 0000000..6681140
--- /dev/null
@@ -0,0 +1,37 @@
+--- bacula-3.0.0/autoconf/bacula-macros/db.m4.orig     2009-04-20 13:02:06.530168885 +0200
++++ bacula-3.0.0/autoconf/bacula-macros/db.m4  2009-04-20 13:05:42.299890921 +0200
+@@ -35,26 +35,18 @@
+            AC_MSG_RESULT(no)
+            AC_MSG_ERROR(Unable to find dbi.h in standard locations)
+         fi
+-        if test -d /usr/local/lib/dbd; then
++        if test -d /usr/local/lib64/dbd; then
++           DRIVERDIR=/usr/local/lib64/dbd
++        elif test -d /usr/local/lib/dbd; then
+            DRIVERDIR=/usr/local/lib/dbd
+-           if test -d /usr/local/lib64/dbd; then
+-              DRIVERDIR=/usr/local/lib64/dbd
+-           else
+-              DRIVERDIR=/usr/local/lib/dbd
+-           fi
++        elif test -d /usr/lib64/dbd; then
++           DRIVERDIR=/usr/lib64/dbd
+         elif test -d /usr/lib/dbd; then
+            DRIVERDIR=/usr/lib/dbd
+-           if test -d /usr/lib64/dbd; then
+-              DRIVERDIR=/usr/lib64/dbd
+-           else
+-              DRIVERDIR=/usr/lib/dbd
+-           fi
++        elif test -d $prefix/lib64/dbd; then
++           DRIVERDIR=$prefix/lib64/dbd
+         elif test -d $prefix/lib/dbd; then
+-           if test -d $prefix/lib64/dbd; then
+-              DRIVERDIR=$prefix/lib64/dbd
+-           else
+-              DRIVERDIR=$prefix/lib/dbd
+-           fi
++           DRIVERDIR=$prefix/lib/dbd
+         else
+            AC_MSG_RESULT(no)
+            AC_MSG_ERROR(Unable to find DBD drivers in standard locations)
This page took 0.031505 seconds and 4 git commands to generate.