Subject: Re: Replacing path to bash
To: Johnny Lam <jlam@pkgsrc.org>
From: Geert Hendrickx <ghen@telenet.be>
List: tech-pkg
Date: 12/13/2005 23:20:03
On Tue, Dec 13, 2005 at 01:45:15PM -0500, Johnny Lam wrote:
> Geert Hendrickx wrote:
> >Module Name:	pkgsrc
> >Committed By:	ghen
> >Date:		Tue Dec 13 15:53:53 UTC 2005
> >
> >Modified Files:
> >	pkgsrc/multimedia/mjpegtools: Makefile
> >
> >Log Message:
> >Use EVAL_PREFIX instead of assuming bash lives in ${PREFIX}.
> >Suggested by jmmv, ok by jmmv & wiz.  Ride on previous PKGREVISION.
> 
> This can actually be done slightly better.  You can add "bash" to
> USE_TOOLS, and then just use ${TOOLS_PATH.bash} instead of needing to
> derive the path to the bash binary yourself.

Doesn't USE_TOOLS only imply a build dependency?  

	Geert