diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-02-02 06:12:20 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-02-02 06:12:20 +0000 |
commit | 83eb4932b4abd8f7249861101bb920bd70232329 (patch) | |
tree | 2997b74c057d115ad4199bde8aac5b3017f3bd4f /mail/cyrus-imapd2 | |
parent | 010282949d8e6c64af823c71b39df8b975b24780 (diff) | |
download | ports-83eb4932b4abd8f7249861101bb920bd70232329.tar.gz ports-83eb4932b4abd8f7249861101bb920bd70232329.zip |
Notes
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r-- | mail/cyrus-imapd2/Makefile | 9 | ||||
-rw-r--r-- | mail/cyrus-imapd2/files/patch-ac | 2 |
2 files changed, 5 insertions, 6 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 diff --git a/mail/cyrus-imapd2/files/patch-ac b/mail/cyrus-imapd2/files/patch-ac index 89e7be52d853..4c33c0544e12 100644 --- a/mail/cyrus-imapd2/files/patch-ac +++ b/mail/cyrus-imapd2/files/patch-ac @@ -16,7 +16,7 @@ diff -u configure.orig configure EOF - LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp" -+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm" ++ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap" echo $ac_n "checking for rpmdbOpen in -lrpm""... $ac_c" 1>&6 echo "configure:6763: checking for rpmdbOpen in -lrpm" >&5 ac_lib_var=`echo rpm'_'rpmdbOpen | sed 'y%./+-%__p_%'` |