ports/107110: [PATCH] mail/spamprobe: utilize USE_BDB
Yen-Ming Lee
leeym at FreeBSD.org
Fri Dec 22 21:20:10 UTC 2006
>Number: 107110
>Category: ports
>Synopsis: [PATCH] mail/spamprobe: utilize USE_BDB
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 22 21:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Nov 26 10:23:41 CST 2006
>Description:
- utilize USE_BDB (based on ports/89023)
Port maintainer (stefan at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- spamprobe-1.4b.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/spamprobe/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile 7 May 2006 13:32:13 -0000 1.17
+++ Makefile 22 Dec 2006 20:52:12 -0000
@@ -14,14 +14,15 @@
MAINTAINER= stefan at FreeBSD.org
COMMENT= Spam detector using Bayesian analysis of word counts
-LIB_DEPENDS= db4:${PORTSDIR}/databases/db4
+USE_BDB= 3+
+INVALID_BDB_VER=2
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-default-8bit --enable-cdb
-CPPFLAGS= -I${LOCALBASE}/include/db4
-LDFLAGS= -L${LOCALBASE}/lib -ldb4
+CPPFLAGS= -I${BDB_INCLUDE_DIR}
+LDFLAGS= -L${LOCALBASE}/lib -l${BDB_LIB_NAME}
MAN1= spamprobe.1
PLIST_FILES= bin/spamprobe
--- spamprobe-1.4b.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list