From owner-freebsd-current Thu May 23 3:17:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id B732037B47C for ; Thu, 23 May 2002 03:15:17 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g4NAF0J41790; Thu, 23 May 2002 03:15:00 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3) with ESMTP id g4NAFWnc004186; Thu, 23 May 2002 03:15:32 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g4NAFU5K004185; Thu, 23 May 2002 03:15:30 -0700 (PDT) (envelope-from marcel) Date: Thu, 23 May 2002 03:15:28 -0700 From: Marcel Moolenaar To: Shizuka Kudo Cc: Jay , kris@obsecurity.org, sreese@codysbooks.com, freebsd-current@FreeBSD.ORG Subject: Re: Infinite 'make' loops while building ports Message-ID: <20020523101528.GA91566@dhcp01.pn.xcllnt.net> References: <200205230138.00831.jayed@jayed.com> <20020523093356.91469.qmail@web11403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020523093356.91469.qmail@web11403.mail.yahoo.com> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, May 23, 2002 at 02:33:56AM -0700, Shizuka Kudo wrote: > > It seems /usr/bin/make set the environment variable > MAKEFILE to the Makefile it uses. So when you type > make build or install, MAKEFILE is pointed to the > port's Makefile. Workaround for me at this moment is > to run "make build MAKEFILE=Makefile" so that > bsd.ports.mk use the correct Makefile in WRKSRC. > > Is the behaviour in /usr/bin/make changed recently? No. This is old behaviour and I filed a PR for it many moons ago. I have replaced all uses of MAKEFILE with MAKE_FILE in all the makefiles that set it (and changed bsd.ports.mk as well of course) The problem is more visible if you set WRKDIROREFIX. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message