pkgsrc/mail/bmf/patches/patch-aa
mjl 6a167ff289 Initial import of bmf-0.84
This is a mail filter which uses the Bayes algorithm as explained in Paul
Graham's article "A Plan for Spam". It aims to be faster, smaller, and more
versatile than similar applicatios.
2002-10-10 11:05:31 +00:00

32 lines
698 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2002/10/10 11:05:31 mjl Exp $
--- configure.orig Tue Oct 8 11:39:14 2002
+++ configure Tue Oct 8 11:45:11 2002
@@ -140,6 +140,27 @@
LIBDB_LIB=""
MYSQL_LIB="-lmysqlclient"
;;
+ NetBSD)
+ OSVER=40
+ if [ "$with_debug" = "yes" ]; then
+ CCDBG="-g"
+ LDDBG="-g"
+ else
+ CCDBG="-DNDEBUG"
+ LDDBG=""
+ fi
+ CC=gcc
+ CFLAGS="$CCDBG -D_UNIX -D_BSD=$OSVER -Wall"
+ CXX=g++
+ CXXFLAGS=${CFLAGS}
+ AR=ar
+ ARFLAGS="-rc"
+ LD=gcc
+ LDFLAGS="$LDDBG"
+ SYSLIBS=""
+ LIBDB_LIB=""
+ MYSQL_LIB="-lmysqlclient"
+ ;;
OpenBSD)
# I'm guessing OpenBSD looks mostly like FreeBSD 4.x
OSVER=40