Date: Sat, 1 May 2004 09:05:30 +0200 (CEST) From: Palle Girgensohn <girgen@pingpong.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66134: [PATCH] mail/lmtpd: fails index building Message-ID: <200405010705.i4175UIn015813@palle.girgensohn.se> Resent-Message-ID: <200405010710.i417AHgw038414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66134 >Category: ports >Synopsis: [PATCH] mail/lmtpd: fails index building >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat May 01 00:10:16 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Palle Girgensohn >Release: FreeBSD 5.2-CURRENT i386 >Organization: Ping Pong AB >Environment: System: FreeBSD palle.girgensohn.se 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Tue Apr 13 03:50:54 CEST 2004 >Description: make describe fails I have both db3 and db4 installed, since different ports use different databases. This makes the latest mail/lmtpd fail in "make describe", which is used by portsdb -U. Hence, I cannot build an INDEX file after cvs update. db3 and db4 ports don't conflict, so this error is not reasonable. I suggest check for db4, and only if does not exists move on to db3. Suggested patch enclosed. Port maintainer (kiwi@oav.net) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- lmtpd-0.9.16_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/lmtpd/Makefile,v retrieving revision 1.8 diff -u -u -r1.8 Makefile --- Makefile 1 May 2004 02:25:14 -0000 1.8 +++ Makefile 1 May 2004 06:58:36 -0000 @@ -29,18 +29,17 @@ OPTIONS+= MYSQL "Support for MySQL Queries and Logs" off .endif -.if exists(${LOCALBASE}/lib/libdb3.so) -WITH_DB3= yes -OPTIONS+= DB3 "Support for DB3" on -.else -OPTIONS+= DB3 "Support for DB3" off -.endif - .if exists(${LOCALBASE}/lib/libdb4.so) WITH_DB4= yes OPTIONS+= DB4 "Support for DB4" on +OPTIONS+= DB3 "Support for DB3" off .else OPTIONS+= DB4 "Support for DB4" off +.if exists(${LOCALBASE}/lib/libdb3.so) +WITH_DB3= yes +OPTIONS+= DB3 "Support for DB3" on +.else +.endif .endif .if defined(WITH_DB3) && defined(WITH_DB4) --- lmtpd-0.9.16_1.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?200405010705.i4175UIn015813>