From owner-freebsd-ports@freebsd.org Thu Jul 21 18:26:20 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9827ABA1E19 for ; Thu, 21 Jul 2016 18:26:20 +0000 (UTC) (envelope-from cs@innolan.dk) Received: from avril.innolan.net (ntp2.innolan.net [90.184.222.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5C58C1D3D for ; Thu, 21 Jul 2016 18:26:20 +0000 (UTC) (envelope-from cs@innolan.dk) Received: from [192.168.10.60] (unknown [192.168.222.119]) by avril.innolan.net (Postfix) with ESMTP id EEB9D61F8D2; Thu, 21 Jul 2016 20:19:59 +0200 (CEST) Subject: Re: Passing target to source Makefile To: Russell Haley , freebsd-ports@freebsd.org References: From: Carsten Larsen Message-ID: <57911255.4010104@innolan.dk> Date: Thu, 21 Jul 2016 20:20:05 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2016 18:26:20 -0000 Hi Russell, > I've been able to hack up the Makefile for an update of lua53 but the > one thing still missing is the ability to pass a target for the source > Makefile (i.e. lua's Makefile, not the ports Makefile). I need to pass > in "freebsd" as per the build instructions for lua. > Assuming gnu make is used, do this: do-build: ${GMAKE} -C ${WRKSRC} TARGET=insert-here > Also, I can't seem to get make makeplist to work, but I think that's > because the lua makefile is defaulting to install the files (due to > the lack of target) and overriding the makeplist output? > > Thanks, > > Russell