From owner-freebsd-current@FreeBSD.ORG Tue Jul 9 07:32:13 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8B602DFF; Tue, 9 Jul 2013 07:32:13 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 66DC01D6F; Tue, 9 Jul 2013 07:32:12 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id KAA03695; Tue, 09 Jul 2013 10:32:09 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1UwSPB-000CdS-6w; Tue, 09 Jul 2013 10:32:09 +0300 Message-ID: <51DBBC43.5040703@FreeBSD.org> Date: Tue, 09 Jul 2013 10:31:15 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130405 Thunderbird/17.0.5 MIME-Version: 1.0 To: Tijl Coosemans Subject: Re: new make vs security/vpnc References: <51DB2A10.2030700@FreeBSD.org> <51DB2CEE.2040504@FreeBSD.org> <51DB37AA.1050206@FreeBSD.org> <51DBBAD8.7070502@coosemans.org> In-Reply-To: <51DBBAD8.7070502@coosemans.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-toolchain@FreeBSD.org, freebsd-ports@FreeBSD.org, FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 07:32:13 -0000 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