Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2013 16:13:18 GMT
From:      olli hauer <ohauer@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        portmgr@FreeBSD.org
Subject:   ports/177114: Mk/bsd.port.mk possible pre-config issue.
Message-ID:  <201303191613.r2JGDIaA052286@freefall.freebsd.org>
Resent-Message-ID: <201303191620.r2JGK0IT052432@freefall.freebsd.org>

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

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



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