File: fix-sql-bindir

package info (click to toggle)
bacula 15.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 29,724 kB
  • sloc: ansic: 194,276; cpp: 41,177; sh: 28,255; python: 6,669; makefile: 5,274; perl: 3,666; sql: 1,371; java: 345; xml: 196; awk: 51; sed: 25
file content (27 lines) | stat: -rw-r--r-- 1,204 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: Fix SQL BINDIR
Author: Jan Hauke Rahm <jhr@debian.org>
Reviewed-by: Alexander Golovko <alexandro@ankalagon.ru>
Reviewed-by: Luca Capello <luca@pca.it>
Last-Update: 2012-06-28
Forwarded: not-needed

--- a/autoconf/bacula-macros/db.m4
+++ b/autoconf/bacula-macros/db.m4
@@ -239,7 +239,7 @@ AC_HELP_STRING([--with-dbi-driver@<:@=DR
            db_prog="postgresql"
            PG_CONFIG=`which pg_config 2>/dev/null`
            if test -n "$PG_CONFIG"; then
-              POSTGRESQL_BINDIR=`"$PG_CONFIG" --bindir`
+              POSTGRESQL_BINDIR=/usr/bin
               POSTGRESQL_LIBDIR=`"$PG_CONFIG" --libdir`
            elif test -f /usr/local/bin/psql; then
               POSTGRESQL_BINDIR=/usr/local/bin
@@ -879,7 +879,7 @@ AC_HELP_STRING([--with-postgresql@<:@=DI
           if test -n "$PG_CONFIG"; then
               POSTGRESQL_INCDIR=`"$PG_CONFIG" --includedir`
               POSTGRESQL_LIBDIR=`"$PG_CONFIG" --libdir`
-              POSTGRESQL_BINDIR=`"$PG_CONFIG" --bindir`
+              POSTGRESQL_BINDIR=/usr/bin
           elif test -f /usr/local/include/libpq-fe.h; then
               POSTGRESQL_INCDIR=/usr/local/include
               if test -d /usr/local/lib64; then