diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-23 09:54:02 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-07-23 09:54:02 +0000 |
commit | 3ab1b8443ec60e4983c4666f0e84cedab20e81d2 (patch) | |
tree | d13723a66084b6936010f3cea6404da7bbcf103b /mail/anubis/files/patch-configure.ac | |
parent | - Switch to USES=libtool, drop .la files (diff) |
- Replace security/gnutls with security/gnutls3 and update to 3.2.15
- 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)
Diffstat (limited to 'mail/anubis/files/patch-configure.ac')
-rw-r--r-- | mail/anubis/files/patch-configure.ac | 43 |
1 files changed, 6 insertions, 37 deletions
diff --git a/mail/anubis/files/patch-configure.ac b/mail/anubis/files/patch-configure.ac index 0c40e5fe4e4d..8e3b651a964c 100644 --- a/mail/anubis/files/patch-configure.ac +++ b/mail/anubis/files/patch-configure.ac @@ -1,27 +1,14 @@ --- ./configure.ac.orig 2008-12-16 11:21:54.000000000 -0500 +++ ./configure.ac 2011-02-09 20:52:34.000000000 -0500 -@@ -77,7 +77,6 @@ +@@ -78,7 +78,6 @@ ]) AC_CHECK_LIB(socket, socket) -AC_CHECK_LIB(nsl, gethostbyaddr) - AC_SUBST(INCLUDES) + AC_SUBST(ADD_INCLUDES) case $build in -@@ -143,10 +142,10 @@ - else - AC_PATH_PROG(GPG, gpg) - findgpgmedir() { : -- if test -f "$1/include/gpgme.h"; then -+ if test -f "$1/include/gpgme/gpgme.h"; then - gpgmedir=1 - INCLUDES="$INCLUDES -I$1/include" -- AC_MSG_CHECKING(for $1/include/gpgme.h) -+ AC_MSG_CHECKING(for $1/include/gpgme/gpgme.h) - AC_MSG_RESULT([yes]) - return 0 - fi -@@ -158,7 +157,7 @@ +@@ -137,7 +136,7 @@ if test $gpgmedir; then AC_DEFINE(HAVE_GPGME_H, 1, [Define to 1 if HAVE_GPGME_H is requested.]) else @@ -30,15 +17,7 @@ fi ANUBIS_GPGFILES='$(GPGFILES)' M4_DEFS="$M4_DEFS -DWITH_GPG" -@@ -189,6 +188,7 @@ - WITH_MYSQL=no - WITH_POSTGRES=no - WITH_GDBM=no -+WITH_GSASL=no - - dnl Use option --with-gsasl to compile GSASL library support. - MU_CHECK_GSASL(0.2.3, [ -@@ -199,11 +199,21 @@ +@@ -179,11 +178,21 @@ ANUBIS_BIN_ADM='$(adm_bin_programs)' M4_DEFS="$M4_DEFS -DWITH_GSASL" @@ -61,17 +40,7 @@ AC_ARG_WITH(mysql, AC_HELP_STRING([--with-mysql], -@@ -277,7 +287,8 @@ - if test $with_gnutls = yes; then - AC_CHECK_HEADERS(gnutls/gnutls.h) - if test $ac_cv_header_gnutls_gnutls_h != no; then -- AM_PATH_LIBGNUTLS("1.0.0", -+ PKG_CHECK_MODULES([LIBGNUTLS], -+ [gnutls >= 1.0.0], - [M4_DEFS="$M4_DEFS -DWITH_SSL -DWITH_GNUTLS" - AC_DEFINE(USE_GNUTLS, 1, - [Define to 1 if USE_GNUTLS is requested.])], -@@ -327,8 +338,8 @@ +@@ -285,8 +294,8 @@ [with_pam=no]) if test "$with_pam" = "yes"; then AC_CHECK_LIB(pam, main,, with_pam=no) @@ -82,7 +51,7 @@ fi if test "$with_pam" = "yes"; then AC_MSG_RESULT([Enabling PAM support...]) -@@ -342,7 +353,6 @@ +@@ -300,7 +309,6 @@ [with_tcp_wrappers=no]) if test "$with_tcp_wrappers" = "yes"; then AC_CHECK_LIB(wrap, main,, with_tcp_wrappers=no) |