From 54565021663fe98eb5bede10818abd0f9c450542 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 11 Oct 2004 19:32:14 +0000 Subject: Add real Interix support for _RC*_* variables; bump datestamp to today. --- pkgtools/rc.subr/Makefile | 4 ++-- pkgtools/rc.subr/files/rc.subr | 17 ++++++++++++++++- 2 files changed, 18 insertions(+), 3 deletions(-) (limited to 'pkgtools/rc.subr') diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile index 7fdacd793b2..5a040186daf 100644 --- a/pkgtools/rc.subr/Makefile +++ b/pkgtools/rc.subr/Makefile @@ -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 --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index 6dc5038fcaf..6a5b91ee6d3 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -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 @@ case $_osname in _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 -- cgit v1.2.3