ports/96777: fix handling of OPTIONS default values in bsd.port.mk

Jean-Yves Lefort jylefort at FreeBSD.org
Thu May 4 14:50:47 UTC 2006


>Number:         96777
>Category:       ports
>Synopsis:       fix handling of OPTIONS default values in bsd.port.mk
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 04 14:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Fri Apr 28 18:59:37 CEST 2006 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
See this discussion:

	http://lists.freebsd.org/pipermail/cvs-ports/2006-May/093086.html
>How-To-Repeat:
>Fix:
--- bsd.port.mk.orig	Tue May  2 12:09:23 2006
+++ bsd.port.mk	Thu May  4 16:33:55 2006
@@ -1133,7 +1133,7 @@
 OPTIONSFILE?=	${PORT_DBDIR}/${UNIQUENAME}/options
 _OPTIONSFILE!=	${ECHO_CMD} "${OPTIONSFILE}"
 .if defined(OPTIONS)
-.	if defined(PACKAGE_BUILDING) || (defined(BATCH) && !exists(${_OPTIONSFILE}))
+.	if !exists(${_OPTIONSFILE})
 WITHOUT:=
 WITH:=
 .	if defined(OPTIONS)
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list