diff options
author | joerg <joerg> | 2008-04-23 11:54:53 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-04-23 11:54:53 +0000 |
commit | 062200a91f742b765f7ac2dd6196d7517e64a004 (patch) | |
tree | ca537982f21637cbf19c3de8616335a09c320d6c /pkgtools | |
parent | 44ab4239f68c97e5a6d1ec7408ef33f97cf26ff9 (diff) | |
download | pkgsrc-062200a91f742b765f7ac2dd6196d7517e64a004.tar.gz |
rc.subr-20080423: Add QNX support.
From Christian Leutloff on tech-pkg.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/rc.subr/Makefile | 6 | ||||
-rw-r--r-- | pkgtools/rc.subr/files/rc.subr | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/pkgtools/rc.subr/Makefile b/pkgtools/rc.subr/Makefile index e59fec8b9e5..5f059722417 100644 --- a/pkgtools/rc.subr/Makefile +++ b/pkgtools/rc.subr/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2007/06/02 07:49:18 schmonz Exp $ +# $NetBSD: Makefile,v 1.16 2008/04/23 11:54:53 joerg Exp $ # -DISTNAME= rc.subr-20041011 -PKGREVISION= 1 +DISTNAME= rc.subr-20080423 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -13,6 +12,7 @@ COMMENT= Portable NetBSD rc.subr implementation for pkgsrc ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-[0-4].*-* Interix-*-* ONLY_FOR_PLATFORM+= Linux-*-* SunOS-*-* +ONLY_FOR_PLATFORM+= QNX-*-* NO_BUILD= yes NO_CHECKSUM= yes diff --git a/pkgtools/rc.subr/files/rc.subr b/pkgtools/rc.subr/files/rc.subr index 1914c881777..1a870586bfa 100644 --- a/pkgtools/rc.subr/files/rc.subr +++ b/pkgtools/rc.subr/files/rc.subr @@ -1,4 +1,4 @@ -# $NetBSD: rc.subr,v 1.6 2006/02/17 15:15:56 sketch Exp $ +# $NetBSD: rc.subr,v 1.7 2008/04/23 11:54:54 joerg Exp $ # # Copyright (c) 1997-2002 The NetBSD Foundation, Inc. # All rights reserved. @@ -101,6 +101,16 @@ case $_osname in # _RCCMD_systrace="/bin/systrace" # not in Slackware 8.1 _RCARG_ps="ax" ;; + QNX) + _RCCMD_chown="/bin/chown" +# _RCCMD_ci="/usr/bin/ci" # not in QNX +# _RCCMD_co="/usr/bin/co" # not in QNX +# _RCCMD_systrace="/bin/systrace" # not in QNX +# _RCCMD_whoami="/usr/ucb/whoami" # not in QNX + _RCARG_psformat="-o pid,comm" + _RCARG_ps="-ef" + _RCARG_su="" + ;; esac # |