diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2020-03-29 09:36:30 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2020-03-29 09:36:30 +0000 |
commit | 9309a003e2fc7333bab3eb4612ce1c7a2dd5abdb (patch) | |
tree | c7802e70cd14d408719d8875ef85fd7feee24056 /mail/dbmail/files/patch-acinclude.m4 | |
parent | sysutils/snmp_exporter: update to 0.17.0 (diff) |
mail/dbmail: chase databases/libzdb update with new layout
Diffstat (limited to '')
-rw-r--r-- | mail/dbmail/files/patch-acinclude.m4 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/mail/dbmail/files/patch-acinclude.m4 b/mail/dbmail/files/patch-acinclude.m4 index a39a006698bc..92b369f9eee6 100644 --- a/mail/dbmail/files/patch-acinclude.m4 +++ b/mail/dbmail/files/patch-acinclude.m4 @@ -1,6 +1,6 @@ --- acinclude.m4.orig 2015-01-25 10:20:50 UTC +++ acinclude.m4 -@@ -221,7 +221,7 @@ if ( test [ "x$lookforldap" != "xno" ] | +@@ -221,7 +221,7 @@ if ( test [ "x$lookforldap" != "xno" ] || test [ "x$lo dnl See if we already have the paths we need in the environment. dnl ...but only if --with-ldap was given without a specific path. if ( test [ "x$lookforldap" = "xyes" ] || test [ "x$lookforauthldap" = "xyes" ] ); then @@ -9,7 +9,7 @@ if test [ "x$LDAPLIB" != "xfailed" ]; then break fi -@@ -233,7 +233,7 @@ if ( test [ "x$lookforldap" != "xno" ] | +@@ -233,7 +233,7 @@ if ( test [ "x$lookforldap" != "xno" ] || test [ "x$lo SAVE_CFLAGS=$CFLAGS dnl The headers might be in a funny place, so we need to use -Ipath CFLAGS="$CFLAGS -L$TEST_PATH $LDAPINC" @@ -18,7 +18,7 @@ CFLAGS=$SAVE_CFLAGS if test [ "x$LDAPLIB" != "xfailed" ]; then break 2 -@@ -247,7 +247,7 @@ if ( test [ "x$lookforldap" != "xno" ] | +@@ -247,7 +247,7 @@ if ( test [ "x$lookforldap" != "xno" ] || test [ "x$lo AC_MSG_ERROR([Could not find LDAP library.]) else AC_DEFINE([AUTHLDAP], 1, [Define if LDAP will be used.]) @@ -27,7 +27,16 @@ AC_SUBST(LDAPLIB) AC_SUBST(LDAPINC) AUTHALIB="modules/.libs/libauth_ldap.a" -@@ -339,7 +339,7 @@ AC_DEFUN([DM_CHECK_EVENT], [ +@@ -291,6 +291,8 @@ AC_DEFUN([DM_CHECK_ZDB], [dnl + [ZDBLIB="-lzdb"], + [ZDBLIB="failed"], + [[ ++#include <stdbool.h> ++#include <zdb.h> + #include <URL.h> + #include <ResultSet.h> + #include <PreparedStatement.h> +@@ -339,7 +341,7 @@ AC_DEFUN([DM_CHECK_EVENT], [ AC_DEFUN([DM_CHECK_SSL], [ AC_CHECK_HEADERS([openssl/ssl.h], @@ -36,7 +45,7 @@ if test [ "x$SSLLIB" = "xfailed" ]; then AC_MSG_ERROR([Could not find OPENSSL library.]) else -@@ -539,15 +539,15 @@ AC_DEFUN([CMU_SOCKETS], [ +@@ -539,15 +541,15 @@ AC_DEFUN([CMU_SOCKETS], [ save_LIBS="$LIBS" SOCKETLIB="" AC_CHECK_FUNC(connect, :, |