summaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2007-01-01 18:12:15 +0000
committerStefan Walter <stefan@FreeBSD.org>2007-01-01 18:12:15 +0000
commitd32007cc104e056189838b6c31438d2bcb1dfa7d (patch)
tree6f1807aad2740483acff20328b3f80555df57b06 /mail/spamprobe
parentOops, I forgot updating distinfo. (diff)
Utilize USE_BDB.
PR: 107110 Submitted by: leeym
Notes
Notes: svn path=/head/; revision=181213
Diffstat (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 0f1c9ccd450e..a626ce518480 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -14,14 +14,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= stefan@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