From a16682c228aa78438bd014b55ad9c8826e1bfff8 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Sat, 29 May 2004 16:36:16 +0000 Subject: Since net-snmp-5.X support was added in 2.2.5, change the default of WITH_SNMP from net-snmp4 to net-snmp. However, if there is net-snmp4 installed, we still use net-snmp4 for backward compatibility. --- mail/cyrus-imapd22/files/patch-ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mail/cyrus-imapd22/files/patch-ac') diff --git a/mail/cyrus-imapd22/files/patch-ac b/mail/cyrus-imapd22/files/patch-ac index d2d3c3c729f7..4f6476d7498a 100644 --- a/mail/cyrus-imapd22/files/patch-ac +++ b/mail/cyrus-imapd22/files/patch-ac @@ -1,7 +1,7 @@ Index: configure diff -u configure.orig configure --- configure.orig Sat May 29 03:08:17 2004 -+++ configure Sat May 29 04:38:20 2004 ++++ configure Sat May 29 06:43:27 2004 @@ -6551,7 +6551,7 @@ BDB_LIBADD="" fi @@ -33,6 +33,15 @@ diff -u configure.orig configure PERL_CCCDLFLAGS="$cccdlflags" fi +@@ -14020,7 +14021,7 @@ + + if test -n "$SNMP_LIBS" && test -n "$SNMP_PREFIX"; then + CPPFLAGS="$CPPFLAGS -I${SNMP_PREFIX}/include" +- LIB_UCDSNMP=$SNMP_LIBS ++ LIB_UCDSNMP="$SNMP_LIBS -lwrap" + + cat >>confdefs.h <<\_ACEOF + #define HAVE_NETSNMP 1 @@ -14251,7 +14252,7 @@ #define HAVE_UCDSNMP 1 _ACEOF -- cgit v1.2.3