Subject: Replacing path to bash
To: None <ghen@netbsd.org>
From: Johnny Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 12/13/2005 13:45:15
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.
Cheers,
-- Johnny Lam <jlam@pkgsrc.org>