diff options
author | ume <ume@FreeBSD.org> | 2004-02-02 14:12:20 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-02-02 14:12:20 +0800 |
commit | 6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d (patch) | |
tree | a77cd01d2b7fab714cc2e63a35e022214823d8fb /mail/cyrus-imapd2 | |
parent | 6897eba72e288197061eec3de9e74666f5a50016 (diff) | |
download | freebsd-ports-gnome-6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d.tar.gz freebsd-ports-gnome-6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d.tar.zst freebsd-ports-gnome-6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d.zip |
make it buildable with net/net-snmp4.
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_%'` |