ports/177114: Mk/bsd.port.mk possible pre-config issue.

olli hauer ohauer at FreeBSD.org
Tue Mar 19 16:20:00 UTC 2013


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


More information about the freebsd-ports-bugs mailing list