summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 315e8ca..075b396 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>
OpenPOWER on IntegriCloud