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: ports/101383: [PATCH] mail/cyrus-imapd: add handling of WITHOUT_BDB Message-ID: <200608050029.k750TTmA007284@thor.farley.org> Resent-Message-ID: <200608050030.k750UH5i072967@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101383 >Category: ports >Synopsis: [PATCH] mail/cyrus-imapd: add handling of WITHOUT_BDB >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 05 00:30:17 GMT 2006 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608050029.k750TTmA007284>