From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 19 16:20:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 92C5842D for ; Tue, 19 Mar 2013 16:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5BAC929C for ; Tue, 19 Mar 2013 16:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JGK0Rv052433 for ; Tue, 19 Mar 2013 16:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JGK0IT052432; Tue, 19 Mar 2013 16:20:00 GMT (envelope-from gnats) Resent-Date: Tue, 19 Mar 2013 16:20:00 GMT Resent-Message-Id: <201303191620.r2JGK0IT052432@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, olli hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F2C28288; Tue, 19 Mar 2013 16:13:18 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E495C247; Tue, 19 Mar 2013 16:13:18 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2JGDI9V052287; Tue, 19 Mar 2013 16:13:18 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2JGDIaA052286; Tue, 19 Mar 2013 16:13:18 GMT (envelope-from ohauer) Message-Id: <201303191613.r2JGDIaA052286@freefall.freebsd.org> Date: Tue, 19 Mar 2013 16:13:18 GMT From: olli hauer To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177114: Mk/bsd.port.mk possible pre-config issue. Cc: portmgr@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Mar 2013 16:20:00 -0000 >Number: 177114 >Category: ports >Synopsis: Mk/bsd.port.mk possible pre-config issue. >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: Tue Mar 19 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: ohauer >Release: >Organization: >Environment: >Description: I was searching an issue where a port failed to build if no options file exist and the port is build with -BATCH. Not sure about the fix but it seems to solve at last the build issue, with one exception. - if an options file exist autoconfig 69 will be used without options file autoconfig 67 (haven't found a solution for this) >How-To-Repeat: $> cd www/apache22-itk-mpm $> make rmconfig clean $> make -DBATCH -> failure $> cd www/apache22-itk-mpm $> make rmconfig clean $> make patch -DBATCH $> make -DBATCH -> OK >Fix: --- bsd.port.mk.diff begins here --- Index: bsd.port.mk =================================================================== --- bsd.port.mk (revision 314644) +++ bsd.port.mk (working copy) @@ -6211,7 +6211,7 @@ config-conditional: pre-config .if defined(COMPLETE_OPTIONS_LIST) && !defined(NO_DIALOG) . if !defined(_FILE_COMPLETE_OPTIONS_LIST) || ${COMPLETE_OPTIONS_LIST:O} != ${_FILE_COMPLETE_OPTIONS_LIST:O} - @cd ${.CURDIR} && ${MAKE} do-config; + @cd ${.CURDIR} && ${MAKE} config; . endif .endif .endif # config-conditional --- bsd.port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: