From owner-freebsd-current Thu May 23 3:55:10 2002 Delivered-To: freebsd-current@freebsd.org Received: from rrzd1.rz.uni-regensburg.de (rrzd1.rz.uni-regensburg.de [132.199.1.6]) by hub.freebsd.org (Postfix) with ESMTP id 3EBD537B417 for ; Thu, 23 May 2002 03:55:06 -0700 (PDT) Received: from rss1.rz.uni-regensburg.de (rss1.rz.uni-regensburg.de [132.199.1.200]) by rrzd1.rz.uni-regensburg.de (8.9.3/8.9.3-KLW-Linux-0.1) with SMTP id MAA16865 for ; Thu, 23 May 2002 12:55:04 +0200 Received: (qmail 8622 invoked from network); 23 May 2002 12:55:04 +0200 Received: from rcips3.cip.uni-regensburg.de (132.199.38.3) by rss1.rz.uni-regensburg.de with QMQP; 23 May 2002 12:55:04 +0200 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 23 May 2002 12:55:04 +0200 Date: Thu, 23 May 2002 12:55:04 +0200 (MEST) From: Rolf Schillinger X-Sender: scr19100@rcips3 To: Marcel Moolenaar Cc: freebsd-current@FreeBSD.ORG Subject: Re: Infinite 'make' loops while building ports In-Reply-To: <20020523101528.GA91566@dhcp01.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 23 May 2002, Marcel Moolenaar wrote: > 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. http://groups.google.com/groups?hl=en&lr=&threadm=3CDC0724.C9ACC64C_FreeBSD.org%40ns.sol.net&rnum=4&prev=/groups%3Fq%3Dfreebsd%2Binfinite%2Bmake%2Bloop%26hl%3Den%26lr%3D%26scoring%3Dd%26selm%3D3CDC0724.C9ACC64C_FreeBSD.org%2540ns.sol.net%26rnum%3D4 says that this is a problem in textproc/expat2 and indeed if I remove the Makefile there and do a make clean in /usr/ports it chews through the ports with the occasional error when it hits an expat dependency. Above thread states that this should be fixed by expat2 Makefile rev. 1.14. That Makefile however doesn't get updated on cvsup. If I delete it no version of it gets checked out. My Makefile is rev. 1.13 bis bald, Rolf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message