Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2014 18:04:22 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374866 - head/mail/cyrus-imapd23/files
Message-ID:  <201412171804.sBHI4MkC020516@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ume
Date: Wed Dec 17 18:04:21 2014
New Revision: 374866
URL: https://svnweb.freebsd.org/changeset/ports/374866
QAT: https://qat.redports.org/buildarchive/r374866/

Log:
  Fix build with clang when SNMP option is enabled.
  
  PR:		196015

Modified:
  head/mail/cyrus-imapd23/files/patch-configure

Modified: head/mail/cyrus-imapd23/files/patch-configure
==============================================================================
--- head/mail/cyrus-imapd23/files/patch-configure	Wed Dec 17 17:22:11 2014	(r374865)
+++ head/mail/cyrus-imapd23/files/patch-configure	Wed Dec 17 18:04:21 2014	(r374866)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412171804.sBHI4MkC020516>