From sean-freebsd@farley.org  Sat Aug  5 00:29:33 2006
Return-Path: <sean-freebsd@farley.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7AABC16A4DA;
	Sat,  5 Aug 2006 00:29:33 +0000 (UTC)
	(envelope-from sean-freebsd@farley.org)
Received: from mail.farley.org (farley.org [67.64.95.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A2F9143D46;
	Sat,  5 Aug 2006 00:29:32 +0000 (GMT)
	(envelope-from sean-freebsd@farley.org)
Received: from thor.farley.org (thor.farley.org [IPv6:2001:470:1f01:290:1::5])
	by mail.farley.org (8.13.4/8.13.1) with ESMTP id k750aKax042362;
	Fri, 4 Aug 2006 19:36:20 -0500 (CDT)
	(envelope-from sean-freebsd@gw.farley.org)
Received: from thor.farley.org (localhost [127.0.0.1])
	by thor.farley.org (8.13.6/8.13.6) with ESMTP id k750TU3T007285;
	Fri, 4 Aug 2006 19:29:30 -0500 (CDT)
	(envelope-from sean-freebsd@thor.farley.org)
Received: (from root@localhost)
	by thor.farley.org (8.13.6/8.13.6/Submit) id k750TTmA007284;
	Fri, 4 Aug 2006 19:29:29 -0500 (CDT)
	(envelope-from sean-freebsd)
Message-Id: <200608050029.k750TTmA007284@thor.farley.org>
Date: Fri, 4 Aug 2006 19:29:29 -0500 (CDT)
From: Sean Farley <sean-freebsd@farley.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ume@freebsd.org
Subject: [PATCH] mail/cyrus-imapd: add handling of WITHOUT_BDB
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         101383
>Category:       ports
>Synopsis:       [PATCH] mail/cyrus-imapd: add handling of WITHOUT_BDB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ume
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 05 00:30:17 GMT 2006
>Closed-Date:    Thu Aug 09 14:56:16 GMT 2007
>Last-Modified:  Thu Aug  9 15:00:08 GMT 2007
>Originator:     Sean Farley
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD thor.farley.org 6.1-STABLE FreeBSD 6.1-STABLE #0: Thu Jul 20 15:22:07 CDT 2006
>Description:
The patch adds handling to not use Berkeley DB for the port when
WITHOUT_BDB is defined.

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

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

--- cyrus-imapd-2.3.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mail/cyrus-imapd23.orig/Makefile /usr/ports/mail/cyrus-imapd23/Makefile
--- /usr/ports/mail/cyrus-imapd23.orig/Makefile	Tue Jul 11 13:01:24 2006
+++ /usr/ports/mail/cyrus-imapd23/Makefile	Fri Aug  4 19:27:03 2006
@@ -38,6 +38,7 @@
 		--with-openssl=${OPENSSLBASE} \
 		--with-perl=${PERL5}
 
+.if !defined(WITHOUT_BDB)
 .if defined(WITH_BDB_VER)
 USE_BDB_VER=	${WITH_BDB_VER}
 .else
@@ -88,6 +89,7 @@
 .else
 IGNORE=		"cannot install: WITH_BDB_VER must be 3, 4, 41, 42, 43 or 44"
 .endif
+.endif
 
 OPTIONS+=	DRAC		"Enable DRAC support"			off
 OPTIONS+=	IDLED		"Enable IMAP idled support"		off
@@ -104,6 +106,7 @@
 
 .include <bsd.port.pre.mk>
 
+.if !defined(WITHOUT_BDB)
 BDB_W:=
 BDB_WO:=
 .for v in ${BDB_VERS}
@@ -135,8 +138,11 @@
 .elif defined(WITH_BDB_44)
 USE_BDB=	44
 .endif
-CONFIGURE_ARGS+=--with-bdb-incdir=${BDB_INCLUDE_DIR} \
-		--with-bdb=${BDB_LIB_NAME}
+CONFIGURE_ARGS+=--with-bdb-incdir=${BDB_INCLUDE_DIR}
+.else
+BDB_LIB_NAME=	"no"
+.endif
+CONFIGURE_ARGS+=--with-bdb=${BDB_LIB_NAME}
 
 .if defined(WITH_NNTP)
 CONFIGURE_ARGS+=--enable-nntp
--- cyrus-imapd-2.3.7.patch ends here ---
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ume 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Aug 5 00:57:13 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=101383 
State-Changed-From-To: open->closed 
State-Changed-By: ume 
State-Changed-When: Thu Aug 9 14:55:28 UTC 2007 
State-Changed-Why:  
Thanks, committed! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/101383: commit references a PR
Date: Thu,  9 Aug 2007 14:54:31 +0000 (UTC)

 ume         2007-08-09 14:54:17 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/cyrus-imapd23   Makefile 
   Log:
   Add an option to not use Berkeley DB.
   
   PR:             ports/101383
   Submitted by:   Sean Farley <sean-freebsd__at__farley.org>
   
   Revision  Changes    Path
   1.162     +11 -5     ports/mail/cyrus-imapd23/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"
 
>Unformatted:
