diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2014-12-17 18:04:21 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2014-12-17 18:04:21 +0000 |
commit | 7ccbc423ba2bb7f1f7006e364717fb6ed6470351 (patch) | |
tree | 69cc3f08e7f2d292a6de5aab93e978099cf898a8 | |
parent | Fix distinfo (diff) |
Fix build with clang when SNMP option is enabled.
PR: 196015
Notes
Notes:
svn path=/head/; revision=374866
-rw-r--r-- | mail/cyrus-imapd23/files/patch-configure | 11 |
1 files changed, 0 insertions, 11 deletions
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 |