diff options
author | ume <ume@FreeBSD.org> | 2014-12-18 02:04:21 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2014-12-18 02:04:21 +0800 |
commit | 534d41cff3a3c5723023e7f8906eada7ea99f715 (patch) | |
tree | 69cc3f08e7f2d292a6de5aab93e978099cf898a8 /mail | |
parent | 37c8c7da2aa97146f14b5f6a007e2fecaff9896f (diff) | |
download | freebsd-ports-gnome-534d41cff3a3c5723023e7f8906eada7ea99f715.tar.gz freebsd-ports-gnome-534d41cff3a3c5723023e7f8906eada7ea99f715.tar.zst freebsd-ports-gnome-534d41cff3a3c5723023e7f8906eada7ea99f715.zip |
Fix build with clang when SNMP option is enabled.
PR: 196015
Diffstat (limited to 'mail')
-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 |