From owner-freebsd-ports@FreeBSD.ORG  Sat Sep 20 16:21:22 2014
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id 79715E1C;
 Sat, 20 Sep 2014 16:21:22 +0000 (UTC)
Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com
 [IPv6:2a00:1450:400c:c05::235])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id DF6C6CFF;
 Sat, 20 Sep 2014 16:21:21 +0000 (UTC)
Received: by mail-wi0-f181.google.com with SMTP id z2so942032wiv.2
 for <multiple recipients>; Sat, 20 Sep 2014 09:21:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=40L/cWpuNGeWNnhg/8ulhj9Fvptyt2vM/lA0J/GeZ8s=;
 b=OV1OMSv0RB/9HrxP26i+9P98fd4ueIhnbpDehsnlGTMCvicolo5/rCBY8qQZN0fWw/
 eg6Khspu0GsG6Ti7g8zVcmhbS1F7VMhnEbs7NGhryt1f+CIBoDBQjcyP1Y51TpqkFIDh
 8sYKosmvBWMB0KGH/3TGJG1R1QBGZLeq7IVGU1khDaKNvYCK/yIIyoETtlProCDkvfQM
 BDkJ3ytcUv2JLyhv0+crAFffqsbv5tcvZ0s09Tb7ZdPzcJVDdPDAROAJXGtGjAuCXxZY
 uZNJbwESqoA7mND1afF39AkPYbL0LU5YW6GvZLQwAitJ8BzkkMT4BaqB+RV4PadDswbJ
 CYOA==
MIME-Version: 1.0
X-Received: by 10.194.84.42 with SMTP id v10mr8670686wjy.63.1411230080024;
 Sat, 20 Sep 2014 09:21:20 -0700 (PDT)
Received: by 10.180.104.66 with HTTP; Sat, 20 Sep 2014 09:21:19 -0700 (PDT)
Received: by 10.180.104.66 with HTTP; Sat, 20 Sep 2014 09:21:19 -0700 (PDT)
In-Reply-To: <20140919191052.GC44672@spindle.one-eyed-alien.net>
References: <CAGwOe2ZiL4soU4wSXt53EVE-bZ3ui5geqSGXHPNFAKPrE5vQrw@mail.gmail.com>
 <20140919191052.GC44672@spindle.one-eyed-alien.net>
Date: Sat, 20 Sep 2014 18:21:19 +0200
Message-ID: <CAGwOe2biDJTP7t9GDmFzvyi9eu89eMrtJdwJtVLDAoJMNvnxXw@mail.gmail.com>
Subject: Re: Place of LICENSE_FILE in Makefile
From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To: Brooks Davis <brooks@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1
Cc: FreeBSD Mailing List <freebsd-ports@freebsd.org>
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Sep 2014 16:21:22 -0000

El 19/09/2014 21:10, "Brooks Davis" <brooks@freebsd.org> escribi=C3=B3:
>
> On Fri, Sep 19, 2014 at 08:35:36PM +0200, Fernando Apestegu?a wrote:
> > Hi,
> >
> > I'm facing a situation with a new Makefile.
> > I want to set LICENSE_FILE to the location of the license file of the
> > distribution. The file is located under ${WRKSRC} that has been set to
> > ${WRKDIR}/${GH_ACCOUNT}-${GH_PROJECT}-${GH_COMMIT}
> >
> > If I use LICENSE_FILE _after_ setting WRKSRC, I get an error from
> > portlint. Also, all the GH_* variables need to be set before I can use
> > them to point LICENSE_FILE to the proper path, so... in which order
> > should I define these variables so portlint doesn't complain?
>
> It should not matter that the variable are not yet defined.  Variables
> are expanded at point of use not point of assignment.

Ok, thanks!

>
> -- Brooks