new make vs security/vpnc
Andriy Gapon
avg at FreeBSD.org
Tue Jul 9 07:32:13 UTC 2013
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
More information about the freebsd-current
mailing list