Fix missing pam library due MultiArch (Closes: #643331)
Ondřej Surý
12 years ago
|
0 |
--- a/configure.in
|
|
1 |
+++ b/configure.in
|
|
2 |
@@ -277,7 +277,7 @@ AC_ARG_WITH(pam, [ --with-pam=DIR
|
|
3 |
if test "$with_pam" != no; then
|
|
4 |
if test -d $with_pam; then
|
|
5 |
CPPFLAGS="$CPPFLAGS -I${with_pam}/include"
|
|
6 |
- LDFLAGS="$LDFLAGS -L${with_pam}/lib"
|
|
7 |
+ LDFLAGS="$LDFLAGS -L${with_pam}/$DEB_HOST_MULTIARCH/lib"
|
|
8 |
fi
|
|
9 |
AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h)
|
|
10 |
cmu_save_LIBS="$LIBS"
|
|
11 |
--- a/saslauthd/configure.in
|
|
12 |
+++ b/saslauthd/configure.in
|
|
13 |
@@ -95,7 +95,7 @@ AC_ARG_WITH(pam, [ --with-pam=DIR
|
|
14 |
if test "$with_pam" != no; then
|
|
15 |
if test -d $with_pam; then
|
|
16 |
CPPFLAGS="$CPPFLAGS -I${with_pam}/include"
|
|
17 |
- LDFLAGS="$LDFLAGS -L${with_pam}/lib"
|
|
18 |
+ LDFLAGS="$LDFLAGS -L${with_pam}/$DEB_HOST_MULTIARCH/lib"
|
|
19 |
fi
|
|
20 |
cmu_save_LIBS="$LIBS"
|
|
21 |
AC_CHECK_LIB(pam, pam_start, [
|
18 | 18 |
0032-revert_1.103_revision_to_unbreak_GSSAPI.patch
|
19 | 19 |
0033-fix_segfault_in_GSSAPI.patch
|
20 | 20 |
0034-fix_dovecot_authentication.patch
|
|
21 |
0035-temporary_multiarch_fixes.patch
|
76 | 76 |
--with-pgsql=/usr/include/postgresql \
|
77 | 77 |
$(CONFIGURE_LDAPDB) \
|
78 | 78 |
--disable-macos-framework \
|
79 | |
--with-pam \
|
|
79 |
--with-pam=/usr \
|
80 | 80 |
--with-saslauthd=/var/run/saslauthd \
|
81 | 81 |
$(CONFIGURE_LDAP) \
|
82 | 82 |
--with-configdir=/etc/sasl2:/etc/sasl:/usr/lib/$(DEB_HOST_MULTIARCH)/sasl2:/usr/lib/sasl2 \
|