From a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 16 Jan 2008 22:28:23 +0000 Subject: Really fix gdm's PATH when started out of rc.d. Reported by: mezz git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10134 df743ca5-7f9a-e211-a948-0013205c9059 --- x11/gdm/Makefile | 4 ++-- x11/gdm/files/gdm.in | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'x11/gdm') diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 3608e27ec..2be2769d5 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.95 2008/01/15 22:30:33 marcus Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.96 2008/01/16 21:00:02 marcus Exp $ # PORTNAME= gdm PORTVERSION= 2.21.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in index ea20d3296..be5d503a6 100644 --- a/x11/gdm/files/gdm.in +++ b/x11/gdm/files/gdm.in @@ -1,6 +1,6 @@ #!/bin/sh # $FreeBSD: ports/x11/gdm/files/gdm.in,v 1.5 2007/10/24 23:36:53 marcus Exp $ -# $MCom: ports/x11/gdm/files/gdm.in,v 1.17 2007/11/03 00:59:40 marcus Exp $ +# $MCom: ports/x11/gdm/files/gdm.in,v 1.18 2007/11/23 06:47:21 marcus Exp $ # PROVIDE: gdm # REQUIRE: LOGIN cleanvar moused syscons dbus consolekit @@ -15,6 +15,8 @@ gdm_enable=${gdm_enable-${gnome_enable}} +export PATH=/bin:/sbin:/usr/bin:/usr/sbin:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin + name=gdm rcvar=`set_rcvar` command="%%PREFIX%%/sbin/${name}" -- cgit v1.2.3