Subject: Re: buildlink3.mk and PATH
To: John R. Shannon <john@johnrshannon.com>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 05/12/2004 20:56:14
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+= guile/1.4/bin/*
BUILDLINK_TRANSFORM.guile14+= -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