aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd24
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-02-02 06:12:20 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-02-02 06:12:20 +0000
commit83eb4932b4abd8f7249861101bb920bd70232329 (patch)
tree2997b74c057d115ad4199bde8aac5b3017f3bd4f /mail/cyrus-imapd24
parent010282949d8e6c64af823c71b39df8b975b24780 (diff)
downloadports-83eb4932b4abd8f7249861101bb920bd70232329.tar.gz
ports-83eb4932b4abd8f7249861101bb920bd70232329.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd24')
-rw-r--r--mail/cyrus-imapd24/Makefile9
-rw-r--r--mail/cyrus-imapd24/files/extra-patch-aclocal.m42
-rw-r--r--mail/cyrus-imapd24/files/patch-ac2
3 files changed, 6 insertions, 7 deletions
diff --git a/mail/cyrus-imapd24/Makefile b/mail/cyrus-imapd24/Makefile
index 32f1c5d70f90..8808d4293587 100644
--- a/mail/cyrus-imapd24/Makefile
+++ b/mail/cyrus-imapd24/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-imapd24/files/extra-patch-aclocal.m4 b/mail/cyrus-imapd24/files/extra-patch-aclocal.m4
index 1ecdc62288cd..7670fddd294c 100644
--- a/mail/cyrus-imapd24/files/extra-patch-aclocal.m4
+++ b/mail/cyrus-imapd24/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-imapd24/files/patch-ac b/mail/cyrus-imapd24/files/patch-ac
index 17f80a114033..d33f3b7b0e55 100644
--- a/mail/cyrus-imapd24/files/patch-ac
+++ b/mail/cyrus-imapd24/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