new make vs security/vpnc

Tijl Coosemans tijl at coosemans.org
Tue Jul 9 07:26:32 UTC 2013


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.

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130709/e439ad93/attachment.sig>


More information about the freebsd-ports mailing list