summaryrefslogtreecommitdiff
path: root/mail/tmda
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-09 19:56:38 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-09 19:56:38 +0000
commit8b6cc38ca87514030b70d84a7f9e0a951c898533 (patch)
tree92a4ee6e6b6696027e65a4cd5c055f98b4443160 /mail/tmda
parentRemove a patch forgotten in the last commit. (diff)
- Add optional dependency on databases/py-cdb port to make -cdb
and -autocdb filter source options actually useful; enabled by WITH_CDB=yes knob PR: 57815 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=90723
Diffstat (limited to 'mail/tmda')
-rw-r--r--mail/tmda/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/tmda/Makefile b/mail/tmda/Makefile
index ad18b43e6838..0c8df73ac903 100644
--- a/mail/tmda/Makefile
+++ b/mail/tmda/Makefile
@@ -21,6 +21,10 @@ EXTRACT_SUFX= .tgz
MAINTAINER= sergei@kolobov.com
COMMENT= Python-based SPAM reduction system
+.if defined(WITH_CDB)
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cdbmodule.so:${PORTSDIR}/databases/py-cdb
+.endif
+
USE_PYTHON= yes
PKGMESSAGE= ${WRKDIR}/pkg-message