From hmo@sep.oldach.net  Sun Apr  7 03:51:20 2002
Return-Path: <hmo@sep.oldach.net>
Received: from sep.oldach.net (sep.oldach.net [194.180.25.6])
	by hub.freebsd.org (Postfix) with ESMTP id 1EA3837B41A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  7 Apr 2002 03:51:14 -0700 (PDT)
Received: (from hmo@localhost)
	by sep.oldach.net (8.11.6/8.11.6/hmo09mar02) id g37Ap3G33776;
	Sun, 7 Apr 2002 12:51:03 +0200 (CEST)
	(envelope-from hmo)
Message-Id: <200204071051.g37Ap3G33776@sep.oldach.net>
Date: Sun, 7 Apr 2002 12:51:03 +0200 (CEST)
From: Helge Oldach <send-pr@oldach.net>
Reply-To: Helge Oldach <send-pr@oldach.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: use of .MAKEFLAGS target in Makefile.local does not work any more
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         36841
>Category:       ports
>Synopsis:       use of .MAKEFLAGS target in Makefile.local does not work any more
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 04:00:15 PDT 2002
>Closed-Date:    Thu Jul 17 19:30:41 PDT 2003
>Last-Modified:  Thu Jul 17 19:30:41 PDT 2003
>Originator:     Helge Oldach
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD sep.oldach.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Mar 19 20:26:01 CET 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386


>Description:

In a couple of /usr/ports/some/where directories on my system I have a
Makefile.local containing a line

	.MAKEFLAGS: -DBATCH

This provides global make(1) flags to the port and avoids the need to
define the BATCH variable on the make command line, so that I can just
build the port unattended.

This is broken since about beginning of March. I did some make(1)
debugging with -dl and -dv and it appears that Makefile.local is
included and MAKEFLAGS gets properly amended, but when it comes to
configuring the port, it still doesn't work. BATCH is ignored by
bsd.ports.mk it seems.

Note that just using

	BATCH=1

in Makefile.local does not work as well, but that didn't work in the
past either.

>How-To-Repeat:

For example:

	cd /usr/ports/print/ghostscript-afpl
	echo .MAKEFLAGS: -DBATCH >Makefile.local
	make

and you will get prompted for a configuration menu, which won't appear
with just

	make -DBATCH

>Fix:



>Release-Note:
>Audit-Trail:

From: send-pr@oldach.net (Helge Oldach)
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/36841: use of .MAKEFLAGS target in Makefile.local does not work any more
Date: Sun, 7 Apr 2002 13:15:45 +0200 (CEST)

 Thinking about the issue some more I believe that this behaviour is
 related to the speed-up patch for bsd.ports.mk that was applied on 25
 March.
 
 Helge
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: arved 
Responsible-Changed-When: Thu Jul 17 12:04:25 PDT 2003 
Responsible-Changed-Why:  
bsd.port.mk problem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36841 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Thu Jul 17 19:30:18 PDT 2003 
State-Changed-Why:  
Fixed in rev 1.455 of bsd.port.mk 

http://www.freebsd.org/cgi/query-pr.cgi?pr=36841 
>Unformatted:
