diff options
author | ghen <ghen@pkgsrc.org> | 2005-12-13 15:53:53 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2005-12-13 15:53:53 +0000 |
commit | 5bc6e60a905227f313820717519c362f1bdaaec7 (patch) | |
tree | b32d48685b57118c5f36b3643e3627c5ec4a8c58 /multimedia | |
parent | e73dfa05774173173cb0ee393a927c5454953cbe (diff) | |
download | pkgsrc-5bc6e60a905227f313820717519c362f1bdaaec7.tar.gz |
Use EVAL_PREFIX instead of assuming bash lives in ${PREFIX}.
Suggested by jmmv, ok by jmmv & wiz. Ride on previous PKGREVISION.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mjpegtools/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/multimedia/mjpegtools/Makefile b/multimedia/mjpegtools/Makefile index 5d52081f238..92f486732c5 100644 --- a/multimedia/mjpegtools/Makefile +++ b/multimedia/mjpegtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2005/12/13 12:19:37 ghen Exp $ +# $NetBSD: Makefile,v 1.20 2005/12/13 15:53:53 ghen Exp $ DISTNAME= mjpegtools-1.6.2 PKGREVISION= 7 @@ -25,12 +25,15 @@ CONFIGURE_ARGS+= --with-lame-includes=${BUILDLINK_PREFIX.lame} .include "options.mk" +EVAL_PREFIX+= PREFIX.bash=bash +PREFIX.bash_DEFAULT= ${LOCALBASE} + SUBST_CLASSES+= bash SUBST_STAGE.bash= post-patch SUBST_FILES.bash= scripts/mpegtranscode SUBST_FILES.bash+= scripts/lav2avi.sh SUBST_FILES.bash+= scripts/lav2mpeg -SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!${PREFIX}/bin/bash,' +SUBST_SED.bash= -e 's,^\#!/bin/bash,\#!${PREFIX.bash}/bin/bash,' INFO_FILES= mjpeg-howto.info |