diff options
author | ume <ume@FreeBSD.org> | 2004-02-02 06:12:20 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-02-02 06:12:20 +0000 |
commit | 6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d (patch) | |
tree | a77cd01d2b7fab714cc2e63a35e022214823d8fb /mail/cyrus-imapd22 | |
parent | 6897eba72e288197061eec3de9e74666f5a50016 (diff) | |
download | FreeBSD-ports-6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d.zip FreeBSD-ports-6811824e60dc0a1a3d4fdca2b1698f8a834b1d5d.tar.gz |
make it buildable with net/net-snmp4.
Diffstat (limited to 'mail/cyrus-imapd22')
-rw-r--r-- | mail/cyrus-imapd22/Makefile | 9 | ||||
-rw-r--r-- | mail/cyrus-imapd22/files/extra-patch-aclocal.m4 | 2 | ||||
-rw-r--r-- | mail/cyrus-imapd22/files/patch-ac | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/mail/cyrus-imapd22/Makefile b/mail/cyrus-imapd22/Makefile index 32f1c5d..8808d42 100644 --- a/mail/cyrus-imapd22/Makefile +++ b/mail/cyrus-imapd22/Makefile @@ -111,10 +111,11 @@ CONFIGURE_ARGS+=--with-drac=${LOCALBASE} BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac .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 @@ -146,8 +147,6 @@ DOCSDIR= ${PREFIX}/share/doc/cyrus-imapd22 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-imapd22/files/extra-patch-aclocal.m4 b/mail/cyrus-imapd22/files/extra-patch-aclocal.m4 index 1ecdc62..7670fdd 100644 --- a/mail/cyrus-imapd22/files/extra-patch-aclocal.m4 +++ b/mail/cyrus-imapd22/files/extra-patch-aclocal.m4 @@ -25,7 +25,7 @@ diff -u aclocal.m4.orig aclocal.m4 if test "$with_ucdsnmp" != no; then AC_DEFINE(HAVE_UCDSNMP,1,[Do we have SNMP support?]) - LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp" -+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm" ++ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap" AC_CHECK_LIB(rpm, rpmdbOpen, LIB_UCDSNMP="${LIB_UCDSNMP} -lrpm -lpopt",,-lpopt) fi diff --git a/mail/cyrus-imapd22/files/patch-ac b/mail/cyrus-imapd22/files/patch-ac index 17f80a1..d33f3b7 100644 --- a/mail/cyrus-imapd22/files/patch-ac +++ b/mail/cyrus-imapd22/files/patch-ac @@ -30,7 +30,7 @@ diff -u configure.orig configure _ACEOF - LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp" -+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm" ++ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap" echo "$as_me:$LINENO: checking for rpmdbOpen in -lrpm" >&5 echo $ECHO_N "checking for rpmdbOpen in -lrpm... $ECHO_C" >&6 if test "${ac_cv_lib_rpm_rpmdbOpen+set}" = set; then |