From f88c2a4d890d3e836a14bd78bd4b3b2868000202 Mon Sep 17 00:00:00 2001 From: krion Date: Thu, 9 Oct 2003 19:56:38 +0000 Subject: - 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 --- mail/tmda/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail') 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 -- cgit