Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2014 19:10:52 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Fernando Apestegu?a <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Place of LICENSE_FILE in Makefile
Message-ID:  <20140919191052.GC44672@spindle.one-eyed-alien.net>
In-Reply-To: <CAGwOe2ZiL4soU4wSXt53EVE-bZ3ui5geqSGXHPNFAKPrE5vQrw@mail.gmail.com>
References:  <CAGwOe2ZiL4soU4wSXt53EVE-bZ3ui5geqSGXHPNFAKPrE5vQrw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140919191052.GC44672>