diff options
author | ghen <ghen> | 2005-12-13 15:53:53 +0000 |
---|---|---|
committer | ghen <ghen> | 2005-12-13 15:53:53 +0000 |
commit | 49c8b9742761e0a8a8839b11ab500f66d3b6648b (patch) | |
tree | b32d48685b57118c5f36b3643e3627c5ec4a8c58 /multimedia | |
parent | 80eaa9287990905adea5788e454c0b4e6231e495 (diff) | |
download | pkgsrc-49c8b9742761e0a8a8839b11ab500f66d3b6648b.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 |