Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/sessreg Use ${XDMPIDDIR} and ${XDMLOGD...



details:   https://anonhg.NetBSD.org/src/rev/f2602c2a3e5e
branches:  trunk
changeset: 755138:f2602c2a3e5e
user:      veego <veego%NetBSD.org@localhost>
date:      Sun May 23 21:31:57 2010 +0000

description:
Use ${XDMPIDDIR} and ${XDMLOGDIR} from ../xdm/Makefile.xdm instead of
hard coding the path here.

diffstat:

 external/mit/xorg/bin/sessreg/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 2013a54f1e63 -r f2602c2a3e5e external/mit/xorg/bin/sessreg/Makefile
--- a/external/mit/xorg/bin/sessreg/Makefile    Sun May 23 21:31:52 2010 +0000
+++ b/external/mit/xorg/bin/sessreg/Makefile    Sun May 23 21:31:57 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2008/10/14 23:37:19 cube Exp $
+#      $NetBSD: Makefile,v 1.3 2010/05/23 21:31:57 veego Exp $
 
 .include <bsd.own.mk>
 
@@ -9,8 +9,8 @@
 CPPFLAGS=      -I${X11SRCDIR.${PROG}}/../include
 
 X11EXTRAMANDEFS+=      -e 's,__ttys_file__,/etc/ttys,g; \
-                       s,__utmp_file__,/var/run/utmp,g; \
-                       s,__wtmp_file__,/var/log/wtmp,g'
+                       s,__utmp_file__,${XDMPIDDIR}/utmp,g; \
+                       s,__wtmp_file__,${XDMLOGDIR}/wtmp,g'
 
 .include <bsd.x11.mk>
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index