From owner-freebsd-hackers@freebsd.org Wed Nov 15 20:34:56 2017 Return-Path: Delivered-To: freebsd-hackers@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 2127CDE6BB7 for ; Wed, 15 Nov 2017 20:34:56 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (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 B1E177AD2C for ; Wed, 15 Nov 2017 20:34:54 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 449c00b1-ca44-11e7-b805-f37e907b5733 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 449c00b1-ca44-11e7-b805-f37e907b5733; Wed, 15 Nov 2017 20:33:42 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id vAFKXe5c001852; Wed, 15 Nov 2017 13:33:40 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1510778020.99235.334.camel@freebsd.org> Subject: Re: poudriere 3.2.0 vs. "local" ports From: Ian Lepore To: Craig Leres , freebsd-hackers@freebsd.org Date: Wed, 15 Nov 2017 13:33:40 -0700 In-Reply-To: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> References: <1243837e-bead-eabb-3e5e-237b76c612d1@ee.lbl.gov> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2017 20:34:56 -0000 On Mon, 2017-11-13 at 13:32 -0800, Craig Leres wrote: > > I tried to find a way to insert lbl at the front of CATEGORIES in  > ../Makefile.inc: > >      .if "$(CATEGORIES:Mlbl)" == "" >       CATEGORIES=    lbl $(CATEGORIES) >      .endif > > but I'm not sure it's possible; make appears to considers it > recursive  > even when it's protected by a conditional. For this part of your questions, use CATEGORIES:= lbl $(CATEGORIES), the := forces immediate expansion of the $(CATEGORIES) on the line, avoiding the recursion problem. -- Ian