Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2002 15:14:20 -0400
From:      Andrew Partan <post-freebsd-ports@partan.com>
To:        Paul Chvostek <paul@it.ca>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG
Subject:   Re: bogofilter, Judy libraries
Message-ID:  <20020916191420.GA70569@partan.com>
In-Reply-To: <20020916143635.A14526@mail.it.ca>
References:  <20020916025724.A68958@mail.it.ca> <20020916143635.A14526@mail.it.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 16, 2002 at 02:36:35PM -0400, Paul Chvostek wrote:
> Could someone with more C savvy perhaps look at
> http://www.tuxedo.org/~esr/bogofilter/ ?

I did these changes to build bogofilter 0.7 (after building Judy
and installing db4 from ports):

diff -r bogofilter-0.7.orig/Makefile bogofilter-0.7/Makefile
6,7c6,8
< CFLAGS = -g -O -Wall
< LDFLAGS = -ldb -lJudy -lm
---
> CC=gcc
> CFLAGS = -O2 -I../Judy-initial_LGPL/src/linux_ia32/product/deliver/usr/include -I/usr/local/include
> LDFLAGS = -static -L../Judy-initial_LGPL/src/linux_ia32/product/deliver/usr/lib -L/usr/local/lib -ldb4 -lJudy -lm
13c14
< 	$(CC) -o bogofilter $(LDFLAGS) bogofilter.o lexer_l.o main.o 
---
> 	$(CC) -o bogofilter bogofilter.o lexer_l.o main.o $(LDFLAGS)
diff -r bogofilter-0.7.orig/bogofilter.c bogofilter-0.7/bogofilter.c
24c24
< #include <db.h>
---
> #include <db4/db.h>


	--asp

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020916191420.GA70569>