summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-10-11 19:32:14 +0000
committertv <tv@pkgsrc.org>2004-10-11 19:32:14 +0000
commit54565021663fe98eb5bede10818abd0f9c450542 (patch)
tree0fff979bfa89a71eff64cfa5d2da1bcfe59fb3dc /pkgtools
parent89a2ff0af57bc3c2e6ae564d1a3c0d5e003bbe61 (diff)
downloadpkgsrc-54565021663fe98eb5bede10818abd0f9c450542.tar.gz
Add real Interix support for _RC*_* variables; bump datestamp to today.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/rc.subr/Makefile4
-rw-r--r--pkgtools/rc.subr/files/rc.subr17
2 files changed, 18 insertions, 3 deletions
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