Subject: Re: buildlink3.mk and PATH
To: None <tech-pkg@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: tech-pkg
Date: 05/12/2004 13:30:00
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you. That looks like exactly what I was after.

On Wednesday 12 May 2004 12:56 pm, Thomas Klausner wrote:
> On Wed, May 12, 2004 at 12:46:09PM -0600, John R. Shannon wrote:
> > Is there a recommended way to add to the PATH passed to configure and
> > make in a buildlink3.mk file so that pkgs including the buildlink3.mk
> > file  find additional tools outside the default search path.
>
> guile14 does that:
> BUILDLINK_FILES.guile14+=3D       guile/1.4/bin/*
> BUILDLINK_TRANSFORM.guile14+=3D   -e s,/guile/1.4/bin/,/bin/,
>
> The first links in all files from ${PREFIX}/guile/1.4/bin,
> the second transforms their names so that they end up in
> the buildlink3 dir's bin/, which is prepended to the path.
>  Thomas

=2D --=20

John R. Shannon
john@johnrshannon.com
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iEYEARECAAYFAkCiezgACgkQOKbCxya4HYsAOwCgrtRNxZAx2NMe+jw2NM5rV4n0
h3gAoKGwm3ikVIfEah5e6TLHPvovbR83
=3DQi5E
=2D----END PGP SIGNATURE-----