ports/73113: [PATCH] mail/sendmail berkeleydb Makefile option

Mike Boev mike at tric.ru
Mon Oct 25 12:10:22 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list