aboutsummaryrefslogtreecommitdiffstats
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2007-01-02 02:12:15 +0800
committerstefan <stefan@FreeBSD.org>2007-01-02 02:12:15 +0800
commit5509b6cbd22d8af8118ef4d7db36ae53426bb470 (patch)
tree29662c09827df27d59c615c7183f4377c9d2f029 /mail/spamprobe
parent3e1a962e0c68b548fb3fc72a79983124be6e7651 (diff)
downloadfreebsd-ports-gnome-5509b6cbd22d8af8118ef4d7db36ae53426bb470.tar.gz
freebsd-ports-gnome-5509b6cbd22d8af8118ef4d7db36ae53426bb470.tar.zst
freebsd-ports-gnome-5509b6cbd22d8af8118ef4d7db36ae53426bb470.zip
Utilize USE_BDB.
PR: 107110 Submitted by: leeym
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