From leeym@utopia.leeym.com  Fri Dec 22 21:10:17 2006
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B224B16A403;
	Fri, 22 Dec 2006 21:10:17 +0000 (UTC)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr29.hinet.net (msr29.hinet.net [168.95.4.129])
	by mx1.freebsd.org (Postfix) with ESMTP id 1E84113C45C;
	Fri, 22 Dec 2006 21:10:12 +0000 (UTC)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr29.hinet.net (8.9.3/8.9.3) with ESMTP id EAA28963;
	Sat, 23 Dec 2006 04:53:43 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id 8FFF6B29F2A;
	Sat, 23 Dec 2006 04:53:42 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
	by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id wbTxZQnOufs3; Sat, 23 Dec 2006 04:53:13 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id EACC1B29F20; Sat, 23 Dec 2006 04:53:12 +0800 (CST)
Message-Id: <20061222205312.EACC1B29F20@utopia.leeym.com>
Date: Sat, 23 Dec 2006 04:53:12 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: stefan@freebsd.org
Subject: [PATCH] mail/spamprobe: utilize USE_BDB
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         107110
>Category:       ports
>Synopsis:       [PATCH] mail/spamprobe: utilize USE_BDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 22 21:20:09 GMT 2006
>Closed-Date:    Tue Jan 02 12:58:55 GMT 2007
>Last-Modified:  Tue Jan 02 12:58:55 GMT 2007
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sun Nov 26 10:23:41 CST 2006
>Description:
- utilize USE_BDB (based on ports/89023)

Port maintainer (stefan@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- spamprobe-1.4b.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/spamprobe/Makefile,v
retrieving revision 1.17
diff -u -u -r1.17 Makefile
--- Makefile	7 May 2006 13:32:13 -0000	1.17
+++ Makefile	22 Dec 2006 20:52:12 -0000
@@ -14,14 +14,15 @@
 MAINTAINER=	stefan@FreeBSD.org
 COMMENT=	Spam detector using Bayesian analysis of word counts
 
-LIB_DEPENDS=	db4:${PORTSDIR}/databases/db4
+USE_BDB=	3+
+INVALID_BDB_VER=2
 
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--enable-default-8bit --enable-cdb
-CPPFLAGS=	-I${LOCALBASE}/include/db4
-LDFLAGS=	-L${LOCALBASE}/lib -ldb4
+CPPFLAGS=	-I${BDB_INCLUDE_DIR}
+LDFLAGS=	-L${LOCALBASE}/lib -l${BDB_LIB_NAME}
 
 MAN1=		spamprobe.1
 PLIST_FILES=	bin/spamprobe
--- spamprobe-1.4b.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Dec 22 21:20:21 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107110 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/107110: commit references a PR
Date: Mon,  1 Jan 2007 18:12:21 +0000 (UTC)

 stefan      2007-01-01 18:12:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/spamprobe       Makefile 
   Log:
   Utilize USE_BDB.
   
   PR:             107110
   Submitted by:   leeym
   
   Revision  Changes    Path
   1.18      +4 -3      ports/mail/spamprobe/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Tue Jan 2 12:58:30 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107110 
>Unformatted:
