summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-08-06 16:43:40 +0000
committertron <tron@pkgsrc.org>2007-08-06 16:43:40 +0000
commitdfa986cd06fc9fe50e04d5887c366ae7d3595cf6 (patch)
tree75f207716f5c826f4ad74a6b184bc504708b12b6 /x11/xdm
parentc46057bb0e6fca788c96c6497dec2bfab04eb399 (diff)
downloadpkgsrc-dfa986cd06fc9fe50e04d5887c366ae7d3595cf6.tar.gz
Fix bugs in "rc.d" script, bump package revision.
Diffstat (limited to 'x11/xdm')
-rw-r--r--x11/xdm/Makefile4
-rw-r--r--x11/xdm/files/xdm.sh7
2 files changed, 6 insertions, 5 deletions
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
index ec0cc60272d..f30b96c7d1c 100644
--- a/x11/xdm/Makefile
+++ b/x11/xdm/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2007/08/06 15:56:09 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/06 16:43:40 tron Exp $
DISTNAME= xdm-1.1.4
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/xdm/files/xdm.sh b/x11/xdm/files/xdm.sh
index 136008b0a46..d2317ccef2c 100644
--- a/x11/xdm/files/xdm.sh
+++ b/x11/xdm/files/xdm.sh
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: xdm.sh,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+# $NetBSD: xdm.sh,v 1.2 2007/08/06 16:43:40 tron Exp $
#
# PROVIDE: xdm
@@ -12,7 +12,8 @@ $_rc_subr_loaded . /etc/rc.subr
name="xdm"
rcvar=$name
xdm_config="/etc/X11/${name}/${name}-config"
-command="@PREFIX@/bin/${name} -config ${xdm_config}"
+command="@PREFIX@/bin/${name}"
+command_args="-config ${xdm_config}"
pidfile="/var/run/${name}.pid"
required_files="${xdm_config}"
extra_commands="reload"