From owner-freebsd-ports@FreeBSD.ORG Fri Sep 19 19:10:53 2014 Return-Path: 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 27B4EC26 for ; Fri, 19 Sep 2014 19:10:53 +0000 (UTC) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) by mx1.freebsd.org (Postfix) with ESMTP id 01762DA4 for ; Fri, 19 Sep 2014 19:10:52 +0000 (UTC) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 1D6935A9F0B; Fri, 19 Sep 2014 19:10:52 +0000 (UTC) Date: Fri, 19 Sep 2014 19:10:52 +0000 From: Brooks Davis To: Fernando Apestegu?a Subject: Re: Place of LICENSE_FILE in Makefile Message-ID: <20140919191052.GC44672@spindle.one-eyed-alien.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2014 19:10:53 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 19, 2014 at 08:35:36PM +0200, Fernando Apestegu?a wrote: > Hi, >=20 > 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} >=20 > 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. -- Brooks --KsGdsel6WgEHnImy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQcf7sACgkQXY6L6fI4GtTWiQCfWMXHFNOYLCjtwarfV2qY6YCW uh4AoNpwNcZme1Q0qfzXwavIAFdqnPmM =wbrg -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--