aboutsummaryrefslogtreecommitdiffstats
path: root/security/amavisd-new/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/amavisd-new/Makefile')
-rw-r--r--security/amavisd-new/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/amavisd-new/Makefile b/security/amavisd-new/Makefile
index 40c85ed392e7..9517f04ec38b 100644
--- a/security/amavisd-new/Makefile
+++ b/security/amavisd-new/Makefile
@@ -88,7 +88,7 @@ USE_RC_SUBR+= amavisd
RUN_DEPENDS+= p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6
.endif
-.if ${PORT_OPTIONS:MSNMP) && defined(WITH_BDB}
+.if ${PORT_OPTIONS:MSNMP} && ${PORT_OPTIONS:MBDB}
USE_RC_SUBR+= amavisd-snmp
RUN_DEPENDS+= p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP
.endif