Package: bacula / 7.4.4+dfsg-6

fix-libbaccats-rpath.patch Patch series | download
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Description: Remove RPATH from libbaccats*.so (found by lintian)
Author: Alexander Golovko <alexandro@ankalagon.ru>
Last-Update: 2012-06-02

--- a/autoconf/bacula-macros/db.m4
+++ b/autoconf/bacula-macros/db.m4
@@ -102,7 +102,7 @@
      fi
      DBI_INCLUDE=-I$DBI_INCDIR
      if test x$use_libtool != xno; then
-        DBI_LIBS="-R $DBI_LIBDIR -L$DBI_LIBDIR -ldbi"
+        DBI_LIBS="-L$DBI_LIBDIR -ldbi"
      else
         DBI_LIBS="-L$DBI_LIBDIR -ldbi"
      fi
@@ -494,7 +494,7 @@
         elif test -f $MYSQL_LIBDIR/libmysqlclient_r.a \
                -o -f $MYSQL_LIBDIR/libmysqlclient_r.so; then
            if test x$use_libtool != xno; then
-              MYSQL_LIBS="-R $MYSQL_LIBDIR -L$MYSQL_LIBDIR -lmysqlclient_r -lz"
+              MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
            else
               MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
            fi
@@ -625,7 +625,7 @@
         fi
      MYSQL_INCLUDE=-I$MYSQL_INCDIR
      if test x$use_libtool != xno; then
-        MYSQL_LIBS="-R $MYSQL_LIBDIR -L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
+        MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
      else
         MYSQL_LIBS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
      fi
@@ -715,7 +715,7 @@
      fi
      INGRES_INCLUDE=-I$INGRES_INCDIR
      if test x$use_libtool != xno; then
-        INGRES_LIBS="-R $INGRES_LIBDIR -L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
+        INGRES_LIBS="-L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
      else
         INGRES_LIBS="-L$INGRES_LIBDIR -lq.1 -lcompat.1 -lframe.1"
      fi
@@ -801,7 +801,7 @@
      fi
      SQLITE_INCLUDE=-I$SQLITE_INCDIR
      if test x$use_libtool != xno; then
-        SQLITE_LIBS="-R $SQLITE_LIBDIR -L$SQLITE_LIBDIR -lsqlite3"
+        SQLITE_LIBS="-L$SQLITE_LIBDIR -lsqlite3"
      else
         SQLITE_LIBS="-L$SQLITE_LIBDIR -lsqlite3"
      fi
@@ -925,7 +925,7 @@
 
      POSTGRESQL_INCLUDE=-I$POSTGRESQL_INCDIR
      if test x$use_libtool != xno; then
-        POSTGRESQL_LIBS="-R $POSTGRESQL_LIBDIR -L$POSTGRESQL_LIBDIR -lpq"
+        POSTGRESQL_LIBS="-L$POSTGRESQL_LIBDIR -lpq"
      else
         POSTGRESQL_LIBS="-L$POSTGRESQL_LIBDIR -lpq"
      fi