diff options
Diffstat (limited to 'mail-client/alpine/files/alpine-2.21.1-nopam.patch')
-rw-r--r-- | mail-client/alpine/files/alpine-2.21.1-nopam.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mail-client/alpine/files/alpine-2.21.1-nopam.patch b/mail-client/alpine/files/alpine-2.21.1-nopam.patch new file mode 100644 index 000000000000..1552f440b536 --- /dev/null +++ b/mail-client/alpine/files/alpine-2.21.1-nopam.patch @@ -0,0 +1,27 @@ +--- ./configure.ac 2019-11-04 20:09:50.094172283 +0100 ++++ ./configure.ac 2019-11-04 20:59:33.775007247 +0100 +@@ -257,6 +257,7 @@ + alpine_c_client_gccoptlevel="-O0" + AC_MSG_RESULT([no]) + fi ++AC_ARG_WITH([pam], AS_HELP_STRING([--without-pam], [Build without PAM support])) + + dnl disable mouse support + AC_MSG_CHECKING([option: mouse support enabled]) +@@ -1108,7 +1109,7 @@ + alpine_PAM="yes" + else + systype="LNX" +- AC_CHECK_LIB(pam, pam_start, ++ AS_IF(test "x$with_pam" != "xno", + [ + alpine_c_client_target="lnp" + alpine_PAM="yes" +@@ -1119,6 +1120,7 @@ + else + alpine_c_client_target="lnx" + fi ++ alpine_PAM="none" + ]) + fi + ;; |