ports/57815: [MAINTAINER] mail/tmda: add WITH_CDB knob

Sergei Kolobov sergei at kolobov.com
Thu Oct 9 19:40:28 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list