Skip site navigation (1)Skip section navigation (2)
Date:      9 Oct 2003 19:38:23 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/57815: [MAINTAINER] mail/tmda: add WITH_CDB knob
Message-ID:  <20031009193823.12073.qmail@kolobov.com>
Resent-Message-ID: <200310091940.h99JeQ0k000923@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         57815
>Category:       ports
>Synopsis:       [MAINTAINER] mail/tmda: add WITH_CDB knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 09 12:40:26 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sun Oct  5 18:18:29 MSD
>Description:
- Add optional dependency on databases/py-cdb port to make -cdb and -autocdb
  filter source options actually useful; enabled by WITH_CDB=yes knob

Generated with FreeBSD Port Tools 0.29
>How-To-Repeat:
>Fix:

--- tmda-0.86.patch begins here ---
Index: Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/mail/tmda/Makefile,v
retrieving revision 1.42
diff -u -u -r1.42 Makefile
--- Makefile	3 Oct 2003 15:48:29 -0000	1.42
+++ Makefile	9 Oct 2003 19:33:55 -0000
@@ -21,6 +21,10 @@
 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
--- tmda-0.86.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009193823.12073.qmail>