Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2004 19:08:23 +0700 (NOVST)
From:      Mike Boev <mike@tric.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73113: [PATCH] mail/sendmail berkeleydb Makefile option
Message-ID:  <200410251208.i9PC8NWs015104@isrv.tric.ru>
Resent-Message-ID: <200410251210.i9PCAM7l091366@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73113
>Category:       ports
>Synopsis:       [PATCH] mail/sendmail berkeleydb Makefile option
>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:   Mon Oct 25 12:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mike Boev
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
Tomsk Regional Information Center
>Environment:
System: FreeBSD isrv.tric.ru 4.10-RELEASE FreeBSD 4.10-RELEASE #3: Fri May 28 14:45:40 NOVST 2004 root@isrv.tric.ru:/usr/obj/usr/src/sys/ISRV i386

>Description:
	A hidden OPTION exists in the Makefile
>How-To-Repeat:
	cd /usr/ports/mail/sendmail && make SENDMAIL_WITH_BERKELEYDB_VER=3
	see the build process continues as if a plain `make' had been issued 
>Fix:
	Either mention the (hidden) SENDMAIL_WITH_BERKELEYDB=yes in the Makefile
	or apply the following patch (IMO, less options->less ambiguities) to
	kill it.

--- Makefile.orig	Mon Oct 25 18:57:13 2004
+++ Makefile	Mon Oct 25 18:58:53 2004
@@ -260,7 +260,7 @@
 	${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
 		-e "s=%%LOCALBASE%%=${LOCALBASE}=g" \
 		${SITE} > ${WCONF}/site.config.m4
-.if defined(SENDMAIL_WITH_BERKELEYDB)
+.if defined(SENDMAIL_WITH_BERKELEYDB_VER)
 	${ECHO_CMD} \
 	 'APPENDDEF(`confENVDEF'\'', `-I${BERKELEYDB_INCLUDE}'\'')' \
 		>> ${WCONF}/site.config.m4



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410251208.i9PC8NWs015104>