diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-17 06:28:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-01-17 06:28:23 +0800 |
commit | a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce (patch) | |
tree | 6cb67f2454ae269a4004c78972aeb24e5e105219 /x11/gdm | |
parent | 2933ac51a76891f46dbb648d9bf786b1daa06ad1 (diff) | |
download | marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar.gz marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar.bz2 marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar.lz marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar.xz marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.tar.zst marcuscom-ports-a1bb03f2a1a6170e86a66e0bfb645aaaa7af74ce.zip |
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
Diffstat (limited to 'x11/gdm')
-rw-r--r-- | x11/gdm/Makefile | 4 | ||||
-rw-r--r-- | x11/gdm/files/gdm.in | 4 |
2 files changed, 5 insertions, 3 deletions
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 <marcus@FreeBSD.org> # # $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}" |