mirror of
https://git.freebsd.org/ports.git
synced 2025-07-02 18:10:38 -04:00
- Bump PORTREVISION on all ports that depend on security/gnutls and adjust all ports that depend on security/gnutls3 - Update mail/anubis to version 4.2 which supports gnutls 3.x - Update mail/libvmime to a development snapshot (recommended by upstream developers) PR: 191274 Exp-run by: antoine Approved by: portmgr (antoine)
61 lines
1.9 KiB
Text
61 lines
1.9 KiB
Text
--- ./configure.ac.orig 2008-12-16 11:21:54.000000000 -0500
|
|
+++ ./configure.ac 2011-02-09 20:52:34.000000000 -0500
|
|
@@ -78,7 +78,6 @@
|
|
])
|
|
|
|
AC_CHECK_LIB(socket, socket)
|
|
-AC_CHECK_LIB(nsl, gethostbyaddr)
|
|
|
|
AC_SUBST(ADD_INCLUDES)
|
|
case $build in
|
|
@@ -137,7 +136,7 @@
|
|
if test $gpgmedir; then
|
|
AC_DEFINE(HAVE_GPGME_H, 1, [Define to 1 if HAVE_GPGME_H is requested.])
|
|
else
|
|
- AC_CHECK_HEADERS(gpgme.h)
|
|
+ AC_CHECK_HEADERS(gpgme/gpgme.h)
|
|
fi
|
|
ANUBIS_GPGFILES='$(GPGFILES)'
|
|
M4_DEFS="$M4_DEFS -DWITH_GPG"
|
|
@@ -179,11 +178,21 @@
|
|
ANUBIS_BIN_ADM='$(adm_bin_programs)'
|
|
M4_DEFS="$M4_DEFS -DWITH_GSASL"
|
|
|
|
+ AC_ARG_WITH(gdbm,
|
|
+ AC_HELP_STRING([--with-gdbm],
|
|
+ [Configure to work with GDBM]),
|
|
+ [with_gdbm=${withval}],
|
|
+ [with_gdbm=no])
|
|
+ if test "$with_gdbm" = "yes"; then
|
|
AC_CHECK_LIB(gdbm, gdbm_open,
|
|
[WITH_GDBM=yes
|
|
LIBS="$LIBS -lgdbm"
|
|
AC_DEFINE(HAVE_LIBGDBM,1,[Define if you have libgdbm])],
|
|
- [AC_MSG_RESULT([Disabling GDBM support...])])
|
|
+ with_gdbm=no)
|
|
+ fi
|
|
+ if test "$with_gdbm" = "yes"; then
|
|
+ AC_MSG_RESULT([Enabling GDBM support...])
|
|
+ fi
|
|
|
|
AC_ARG_WITH(mysql,
|
|
AC_HELP_STRING([--with-mysql],
|
|
@@ -285,8 +294,8 @@
|
|
[with_pam=no])
|
|
if test "$with_pam" = "yes"; then
|
|
AC_CHECK_LIB(pam, main,, with_pam=no)
|
|
- AC_CHECK_LIB(pam_misc, main,, with_pam=no)
|
|
- AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h,, with_pam=no)
|
|
+ AC_CHECK_HEADER(security/pam_appl.h,, with_pam=no)
|
|
+ AC_CHECK_HEADER(security/openpam.h,, with_pam=no, [ #include <security/pam_appl.h> ])
|
|
fi
|
|
if test "$with_pam" = "yes"; then
|
|
AC_MSG_RESULT([Enabling PAM support...])
|
|
@@ -300,7 +309,6 @@
|
|
[with_tcp_wrappers=no])
|
|
if test "$with_tcp_wrappers" = "yes"; then
|
|
AC_CHECK_LIB(wrap, main,, with_tcp_wrappers=no)
|
|
- AC_CHECK_LIB(nsl, main,, with_tcp_wrappers=no)
|
|
AC_CHECK_HEADERS(tcpd.h,, with_tcp_wrappers=no)
|
|
fi
|
|
if test "$with_tcp_wrappers" = "yes"; then
|