Date: Fri, 16 Mar 2012 03:45:21 +0000 (UTC) From: Jeremy Messenger <mezz@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/x11/gdm Makefile ports/x11/gdm/files gdm.in Message-ID: <201203160345.q2G3jLYn021668@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mezz 2012-03-16 03:45:21 UTC
FreeBSD ports repository
Modified files:
x11/gdm Makefile
x11/gdm/files gdm.in
Log:
Fix the rc.d script:
1. If gnome_enable is not set, gdm_enable will remain undefined.
2. Change the order of calling load_rc_config() and setting the
default variables to the typical order for ports
3. Not only is the checkyesno for gdm_enable in gdm_start() not
needed, it causes problems if, for example the user does
'/usr/local/etc/rc.d/gdm onestart' from the command line.
4. Switch to using 'unlink' instead of 'rm -f'
5. If lshal does not exist, error out instead of looping
6. Mark a variable local
Bump the PORTREVISION.
PR: ports/159391
Submitted by: dougb
Feature safe: yes
Revision Changes Path
1.141 +1 -1 ports/x11/gdm/Makefile
1.22 +17 -12 ports/x11/gdm/files/gdm.in
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203160345.q2G3jLYn021668>
