Re: new make vs security/vpnc

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Tue, 09 Jul 2013 10:31:15 +0300
on 09/07/2013 10:25 Tijl Coosemans said the following:
> On 2013-07-09 00:05, Andriy Gapon wrote:
>> Seems like the problem boils down to this:
>> 
>> $ make -V MAKEFILE /usr/ports/security/vpnc/Makefile $ fmake -V MAKEFILE 
>> Makefile
>> 
>> The only explicit assignments of MAKEFILE that I could find in ports 
>> infrastructure are these: /usr/ports/Mk/bsd.port.mk:MAKEFILE?=
>> Makefile /usr/ports/Mk/bsd.gnustep.mk:MAKEFILE=  GNUmakefile
> 
> The problem is probably that .OBJDIR (/usr/obj/usr/ports/security/vpnc) 
> exists. Bmake assigns an absolute path to MAKEFILE in that case.

Bingo!
I use WRKDIRPREFIX=/usr/obj/*ports*, so i am not sure how
/usr/obj/usr/ports/security/vpnc came to exist.  A timestamp on it is 1 year
old, so I won't be able to recall now.
Thank you!

> MAKEFILE is an internal variable of make and bsd.port.mk uses it for
> another purpose. It should use another name like MAKE_FILE imho.

I agree.

-- 
Andriy Gapon
Received on Tue Jul 09 2013 - 05:32:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC