From owner-freebsd-ports Mon Sep 16 12:14:24 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A2A6437B400; Mon, 16 Sep 2002 12:14:23 -0700 (PDT) Received: from tower.partan.com (tower.partan.com [198.6.255.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C1A343E42; Mon, 16 Sep 2002 12:14:23 -0700 (PDT) (envelope-from asp@tower.partan.com) Received: from tower.partan.com (localhost.partan.com [127.0.0.1]) by tower.partan.com (8.12.3/8.12.3) with ESMTP id g8GJEKV7070639; Mon, 16 Sep 2002 15:14:21 -0400 (EDT) (envelope-from asp@tower.partan.com) Received: (from asp@localhost) by tower.partan.com (8.12.3/8.12.3/Submit) id g8GJEKRT070638; Mon, 16 Sep 2002 15:14:20 -0400 (EDT) (envelope-from asp) Date: Mon, 16 Sep 2002 15:14:20 -0400 From: Andrew Partan To: Paul Chvostek Cc: freebsd-questions@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: bogofilter, Judy libraries Message-ID: <20020916191420.GA70569@partan.com> References: <20020916025724.A68958@mail.it.ca> <20020916143635.A14526@mail.it.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020916143635.A14526@mail.it.ca> User-Agent: Mutt/1.4i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 --- > #include --asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message