aboutsummaryrefslogtreecommitdiff
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
parent148fc12a8977dbc82ee6a46b9b0541e60b2c2f94 (diff)
downloadports-d32007cc104e056189838b6c31438d2bcb1dfa7d.tar.gz
ports-d32007cc104e056189838b6c31438d2bcb1dfa7d.zip
Notes
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