From owner-freebsd-ports  Sun Apr  7  4: 1:19 2002
Delivered-To: freebsd-ports@hub.freebsd.org
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id F102237B43A
	for <freebsd-ports@hub.freebsd.org>; Sun,  7 Apr 2002 04:00:15 -0700 (PDT)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g37B0Fs39928;
	Sun, 7 Apr 2002 04:00:15 -0700 (PDT)
	(envelope-from gnats)
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
X-Send-Pr-Version: 3.113
Subject: ports/36841: use of .MAKEFLAGS target in Makefile.local does not work any more
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-ports.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ports>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ports>
X-Loop: FreeBSD.org


>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:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 04:00:15 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message