Package: libapache-mod-log-sql / 1.100-16.3

010-search-libdbi-with-multiarch-support.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
Description: Search for libdbi shared libs in multiarch env
 The libdbi were searched only in /usr/lib, the configure script must
 also search in ${dbi_path}/lib/${DEB_HOST_MULTIARCH}.
Author: Thomas Goirand <zigo@debian.org>
Bug-Debian: http://bugs.debian.org/738377
Last-Update: 2014-05-06

--- libapache-mod-log-sql-1.100.orig/configure
+++ libapache-mod-log-sql-1.100/configure
@@ -3245,6 +3245,11 @@ else
     test_paths="${dbi_path}/lib"
 fi
 
+if [ -x /usr/bin/dpkg-architecture ] ; then
+	DEB_HOST_MULTIARCH=`dpkg-architecture -qDEB_HOST_MULTIARCH`
+	test_paths="${dbi_path}/lib ${dbi_path}/lib/${DEB_HOST_MULTIARCH}"
+fi
+
 for x in $test_paths ; do
     echo "$as_me:$LINENO: checking for libdbi library in ${x}" >&5
 echo $ECHO_N "checking for libdbi library in ${x}... $ECHO_C" >&6