From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 25 12:10:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7665316A566 for ; Mon, 25 Oct 2004 12:10:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A15B43D46 for ; Mon, 25 Oct 2004 12:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9PCAMIk091367 for ; Mon, 25 Oct 2004 12:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9PCAM7l091366; Mon, 25 Oct 2004 12:10:22 GMT (envelope-from gnats) Resent-Date: Mon, 25 Oct 2004 12:10:22 GMT Resent-Message-Id: <200410251210.i9PCAM7l091366@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Boev Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CABB16A4CE for ; Mon, 25 Oct 2004 12:08:33 +0000 (GMT) Received: from isrv.tric.ru (isrv.tric.ru [213.183.106.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 683D643D41 for ; Mon, 25 Oct 2004 12:08:32 +0000 (GMT) (envelope-from mailnull@isrv.tric.ru) Received: from mail.tric.tomsk.gov.ru (mail.tric.tomsk.gov.ru [213.183.106.10]) by isrv.tric.ru (8.13.1/8.13.1) with ESMTP id i9PC8UVv015115 for ; Mon, 25 Oct 2004 19:08:30 +0700 (NOVST) (envelope-from mailnull@isrv.tric.ru) Received: from isrv.tric.rui9PC8OdF015105; Mon, 25 Oct 2004 19:08:24 +0700 (NOVST) (envelope-from mailnull@isrv.tric.ru) Received: (from root@localhost) by isrv.tric.ru (8.13.1/8.13.1/Submit) id i9PC8NWs015104; Mon, 25 Oct 2004 19:08:23 +0700 (NOVST) (envelope-from mailnull) Message-Id: <200410251208.i9PC8NWs015104@isrv.tric.ru> Date: Mon, 25 Oct 2004 19:08:23 +0700 (NOVST) From: Mike Boev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/73113: [PATCH] mail/sendmail berkeleydb Makefile option X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 12:10:22 -0000 >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: