diff options
Diffstat (limited to 'mail/cyrus-imapd2/Makefile')
-rw-r--r-- | mail/cyrus-imapd2/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mail/cyrus-imapd2/Makefile b/mail/cyrus-imapd2/Makefile index 7243940b38d0..ecc737e91949 100644 --- a/mail/cyrus-imapd2/Makefile +++ b/mail/cyrus-imapd2/Makefile @@ -77,10 +77,11 @@ PLIST_SUB+= MURDER="" PLIST_SUB+= MURDER="@comment " .endif +.include <bsd.port.pre.mk> + .if defined(WITH_SNMP) -# It seems not compilable due to lack of auto_nlist_value() in libucdagent. -LIB_DEPENDS+= netsnmp.5:${PORTSDIR}/net/net-snmp -#CONFIGURE_ENV= LIBS=-lkvm +LIB_DEPENDS+= snmp.4:${PORTSDIR}/net/net-snmp4 +CONFIGURE_ARGS+=--with-ucdsnmp=${LOCALBASE} .else CONFIGURE_ARGS+=--with-ucdsnmp=no .endif @@ -108,8 +109,6 @@ DOCS= altnamespace anoncvs bugs changes faq feedback index \ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall PKGINSTALL= ${WRKDIR}/pkg-install -.include <bsd.port.pre.mk> - .if ${PERL_LEVEL} < 500800 RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp .endif |