From 7ccbc423ba2bb7f1f7006e364717fb6ed6470351 Mon Sep 17 00:00:00 2001 From: Hajimu UMEMOTO Date: Wed, 17 Dec 2014 18:04:21 +0000 Subject: Fix build with clang when SNMP option is enabled. PR: 196015 --- mail/cyrus-imapd23/files/patch-configure | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'mail/cyrus-imapd23') diff --git a/mail/cyrus-imapd23/files/patch-configure b/mail/cyrus-imapd23/files/patch-configure index f2675add2cf8..32ccf2519645 100644 --- a/mail/cyrus-imapd23/files/patch-configure +++ b/mail/cyrus-imapd23/files/patch-configure @@ -19,17 +19,6 @@ diff -u configure.orig configure LIBS="$LIBS -lpcre -lpcreposix"; $as_echo "#define ENABLE_REGEX /**/" >>confdefs.h -@@ -10688,7 +10689,9 @@ - - 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" -+ PERLLIBDIR=`$PERL -e 'use Config; print "$Config{archlibexp}/CORE";'` -+ LDFLAGS_UCDSNMP="-L${PERLLIBDIR} -R${PERLLIBDIR}" - - $as_echo "#define HAVE_NETSNMP 1" >>confdefs.h - @@ -10781,7 +10784,7 @@ $as_echo "#define HAVE_UCDSNMP 1" >>confdefs.h -- cgit v1.2.3