pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/mjpegtools Use USE_TOOLS+=bash:run rather t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/50426af05a29
branches:  trunk
changeset: 504577:50426af05a29
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Wed Dec 14 18:18:07 2005 +0000

description:
Use USE_TOOLS+=bash:run rather than depending on shells/bash and deriving
the path from it.  Suggested by jlam, ok'ed by xtraeme.

diffstat:

 multimedia/mjpegtools/Makefile |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r 6e6f99a8d709 -r 50426af05a29 multimedia/mjpegtools/Makefile
--- a/multimedia/mjpegtools/Makefile    Wed Dec 14 18:00:12 2005 +0000
+++ b/multimedia/mjpegtools/Makefile    Wed Dec 14 18:18:07 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2005/12/13 15:53:53 ghen Exp $
+# $NetBSD: Makefile,v 1.21 2005/12/14 18:18:07 ghen Exp $
 
 DISTNAME=      mjpegtools-1.6.2
 PKGREVISION=   7
@@ -11,9 +11,9 @@
 
 DEPENDS+=              toolame>=02l:../../audio/toolame
 BUILD_DEPENDS+=                nasm>=0.98:../../devel/nasm
-DEPENDS+=              bash>=2:../../shells/bash
 
 USE_TOOLS+=            gmake
+USE_TOOLS+=            bash:run
 
 USE_LIBTOOL=           yes
 SHLIBTOOL_OVERRIDE=    libtool
@@ -25,15 +25,12 @@
 
 .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.bash}/bin/bash,'
+SUBST_SED.bash=                -e 's,^\#!/bin/bash,\#!${TOOLS_PATH.bash},'
 
 INFO_FILES=            mjpeg-howto.info
 



Home | Main Index | Thread Index | Old Index