pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/atitvout Use REPLACE_INTERPRETER instead of a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16519cc38b68
branches:  trunk
changeset: 509372:16519cc38b68
user:      ghen <ghen%pkgsrc.org@localhost>
date:      Thu Mar 09 11:28:00 2006 +0000

description:
Use REPLACE_INTERPRETER instead of a patch.

diffstat:

 sysutils/atitvout/Makefile         |  10 +++++++---
 sysutils/atitvout/distinfo         |   4 ++--
 sysutils/atitvout/patches/patch-ab |  10 ++++------
 3 files changed, 13 insertions(+), 11 deletions(-)

diffs (58 lines):

diff -r 6c603c55abea -r 16519cc38b68 sysutils/atitvout/Makefile
--- a/sysutils/atitvout/Makefile        Thu Mar 09 11:23:25 2006 +0000
+++ b/sysutils/atitvout/Makefile        Thu Mar 09 11:28:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2006/03/04 21:30:40 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2006/03/09 11:28:00 ghen Exp $
 
 DISTNAME=       atitvout-0.4
 PKGREVISION=   1
@@ -25,11 +25,15 @@
        ${CP} ${FILESDIR}/Makefile.bsd ${WRKSRC}
 .endif
 
+REPLACE_INTERPRETER+=  bash
+_REPLACE.bash.old=     /bin/bash
+_REPLACE.bash.new=     ${SH:Q}
+_REPLACE_FILES.bash=   test.sh
+
 SUBST_CLASSES+=        sh
-SUBST_STAGE.sh=        post-patch
+SUBST_STAGE.sh=        pre-configure
 SUBST_FILES.sh=        test.sh
 SUBST_SED.sh=  -e "s,@PREFIX@,${PREFIX},"
-SUBST_MESSAGE.sh=      "Fixing stupid bash scripts."
 
 INSTALLATION_DIRS=     sbin
 
diff -r 6c603c55abea -r 16519cc38b68 sysutils/atitvout/distinfo
--- a/sysutils/atitvout/distinfo        Thu Mar 09 11:23:25 2006 +0000
+++ b/sysutils/atitvout/distinfo        Thu Mar 09 11:28:00 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 13:40:50 agc Exp $
+$NetBSD: distinfo,v 1.5 2006/03/09 11:28:00 ghen Exp $
 
 SHA1 (atitvout-0.4.tar.gz) = ac0d3f19119fa0c096099f952c9c59ac44ccc840
 RMD160 (atitvout-0.4.tar.gz) = 594fbc3a20362275a2d9b4ca13ae0b7ae761bcf3
 Size (atitvout-0.4.tar.gz) = 27163 bytes
 SHA1 (patch-aa) = 68e79e289b1aadbba3aa1dbf3137fdf90c486afa
-SHA1 (patch-ab) = 7cf654f43489be3ae982b17f458bf733342469b0
+SHA1 (patch-ab) = e6b0e4fe8ba6427c3c9d2d99d3c0fbb43493f667
diff -r 6c603c55abea -r 16519cc38b68 sysutils/atitvout/patches/patch-ab
--- a/sysutils/atitvout/patches/patch-ab        Thu Mar 09 11:23:25 2006 +0000
+++ b/sysutils/atitvout/patches/patch-ab        Thu Mar 09 11:28:00 2006 +0000
@@ -1,10 +1,8 @@
-$NetBSD: patch-ab,v 1.1 2004/12/18 13:18:13 xtraeme Exp $
+$NetBSD: patch-ab,v 1.2 2006/03/09 11:28:00 ghen Exp $
 
---- test.sh.orig       2004-12-18 14:12:20.000000000 +0100
-+++ test.sh    2004-12-18 14:12:44.000000000 +0100
-@@ -1,8 +1,8 @@
--#!/bin/bash
-+#!/bin/sh
+--- test.sh.orig       2006-03-09 12:24:22.000000000 +0100
++++ test.sh
+@@ -2,7 +2,7 @@
  
  testit () {
        echo "TEST: Running 'atitvout $FLAG $1' ..."



Home | Main Index | Thread Index | Old Index