summaryrefslogtreecommitdiff
path: root/mail/spamprobe
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-29 05:32:45 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-29 05:32:45 +0000
commitb4ad016f96280e085f49c589998b25b82755ec89 (patch)
tree341c8a8c5316db196a77860af46dd07e2a280c08 /mail/spamprobe
parentForgot cvs add on this one: This makes things compile. (diff)
Omitted in previous update.
Notes
Notes: svn path=/head/; revision=79842
Diffstat (limited to 'mail/spamprobe')
-rw-r--r--mail/spamprobe/files/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/mail/spamprobe/files/Makefile b/mail/spamprobe/files/Makefile
index 315e8ca48952..075b3965e6c5 100644
--- a/mail/spamprobe/files/Makefile
+++ b/mail/spamprobe/files/Makefile
@@ -7,12 +7,18 @@ PREFIX?= /usr/local
BINDIR= ${PREFIX}/bin
MANDIR= ${PREFIX}/man/man
PROG_CXX= spamprobe
-CXXFLAGS+= -Wall -DUSE_DB -I${PREFIX}/include/db3
-LDFLAGS= -L${PREFIX}/lib -ldb3 -lmd
+CXXFLAGS+= -Wall -I${PREFIX}/include/db4 -DNDEBUG \
+ -DPACKAGE=\"spamprobe\" -DVERSION=\"0.8a\" \
+ -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DUSE_DB=1
+CFLAGS+= -Wall -I${PREFIX}/include/db4 -DNDEBUG \
+ -DPACKAGE=\"spamprobe\" -DVERSION=\"0.8a\" \
+ -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DUSE_DB=1
+LDFLAGS= -L${PREFIX}/lib -ldb4
SRCS= File.cc FrequencyDB.cc FrequencyDBImpl_bdb.cc \
- FrequencyDBImpl_cache.cc FrequencyDBImpl_dbm.cc LockFile.cc \
- Message.cc MessageFactory.cc MimeHeader.cc MimeLineReader.cc \
- MimeMessageReader.cc SpamFilter.cc Tokenizer.cc \
- spamprobe.cc util.cc
+ FrequencyDBImpl_cache.cc FrequencyDBImpl_dbm.cc \
+ FrequencyDBImpl_dual.cc LockFile.cc Message.cc \
+ MessageFactory.cc MimeHeader.cc MimeLineReader.cc \
+ MimeMessageReader.cc RegularExpression.cc SpamFilter.cc \
+ Tokenizer.cc spamprobe.cc util.cc md5.c
.include <bsd.prog.mk>