ports/66134: [PATCH] mail/lmtpd: fails index building
Palle Girgensohn
girgen at pingpong.net
Sat May 1 07:10:19 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list