Subject: Re: Replacing path to bash
To: Geert Hendrickx <ghen@telenet.be>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 12/13/2005 23:25:46
In article <20051213222003.GA27180@lori.ghen.be> Geert wrote:
: 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?
You can specify the type of dependency, as in
USE_TOOLS+= bash:run
A build dependency is the default.
yours,
dillo