pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/rc.subr Add real Interix support for _RC*_* v...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e4dc9243a6cc
branches: trunk
changeset: 481748:e4dc9243a6cc
user: tv <tv%pkgsrc.org@localhost>
date: Mon Oct 11 19:32:14 2004 +0000
description:
Add real Interix support for _RC*_* variables; bump datestamp to today.
diffstat:
pkgtools/rc.subr/Makefile | 4 ++--
pkgtools/rc.subr/files/rc.subr | 17 ++++++++++++++++-
2 files changed, 18 insertions(+), 3 deletions(-)
diffs (44 lines):
diff -r 4db771d056af -r e4dc9243a6cc pkgtools/rc.subr/Makefile
--- a/pkgtools/rc.subr/Makefile Mon Oct 11 19:17:30 2004 +0000
+++ b/pkgtools/rc.subr/Makefile Mon Oct 11 19:32:14 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2004/10/11 18:52:56 tv Exp $
+# $NetBSD: Makefile,v 1.8 2004/10/11 19:32:14 tv Exp $
#
-DISTNAME= rc.subr-20030706
+DISTNAME= rc.subr-20041011
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
diff -r 4db771d056af -r e4dc9243a6cc pkgtools/rc.subr/files/rc.subr
--- a/pkgtools/rc.subr/files/rc.subr Mon Oct 11 19:17:30 2004 +0000
+++ b/pkgtools/rc.subr/files/rc.subr Mon Oct 11 19:32:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rc.subr,v 1.4 2003/07/06 20:40:34 grant Exp $
+# $NetBSD: rc.subr,v 1.5 2004/10/11 19:32:14 tv Exp $
#
# Copyright (c) 1997-2002 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -75,6 +75,21 @@
_RCARG_psformat="-o pid,comm"
_RCARG_ps="-ef"
;;
+ Interix)
+ bsd_echo () {
+ if [ "$1" = "-n" ]; then
+ shift; echo "$@\c"
+ else
+ echo "$@"
+ fi
+ }
+ _RCCMD_chown="/usr/bin/chown"
+ _RCCMD_ci="/usr/contrib/bin/ci"
+ _RCCMD_co="/usr/contrib/bin/co"
+ _RCCMD_echo="bsd_echo"
+ _RCCMD_rcs="/usr/contrib/bin/rcs"
+ _RCARG_psformat="-wwo pid,comm"
+ ;;
Linux)
_RCCMD_chown="/bin/chown"
# _RCCMD_ci="/usr/bin/ci" # not in Slackware 8.1
Home |
Main Index |
Thread Index |
Old Index