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/xdm xdm: Include "sbin" directories (a...



details:   https://anonhg.NetBSD.org/src/rev/35a7b3bbc33e
branches:  trunk
changeset: 369466:35a7b3bbc33e
user:      nia <nia%NetBSD.org@localhost>
date:      Fri Aug 19 15:55:36 2022 +0000

description:
xdm: Include "sbin" directories (and games) in DEF_USER_PATH.

Upstream's configure.ac picks a DEF_USER_PATH on a per-OS basis.

Most of these include the "sbin" directories, with NetBSD being the
(only?) exception.

However, this is inconsistent with the way a typical login shell is
initialized (when using the default skeleton files).  To avoid user
confusion, harmonize DEF_USER_PATH with our other defaults and with
other OSes.

PR xsrc/54851

diffstat:

 external/mit/xorg/bin/xdm/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 7b70f4c2aada -r 35a7b3bbc33e external/mit/xorg/bin/xdm/Makefile
--- a/external/mit/xorg/bin/xdm/Makefile        Fri Aug 19 13:37:03 2022 +0000
+++ b/external/mit/xorg/bin/xdm/Makefile        Fri Aug 19 15:55:36 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.18 2022/08/16 22:44:06 mrg Exp $
+#      $NetBSD: Makefile,v 1.19 2022/08/19 15:55:36 nia Exp $
 
 .include <bsd.own.mk>
 
@@ -13,7 +13,7 @@
 CPPFLAGS+=     -DSTATIC_GREETER_LIB
 .endif
 
-DEF_USER_PATH= /bin:/usr/bin:/usr/pkg/bin:/usr/local/bin:${X11BINDIR}
+DEF_USER_PATH= /sbin:/usr/sbin:/bin:/usr/bin:/usr/games:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin:${X11BINDIR}
 DEF_SYSTEM_PATH=/sbin:/usr/sbin:/bin:/usr/bin:${X11BINDIR}
 
 CPPFLAGS+=             -DRETSIGTYPE=void



Home | Main Index | Thread Index | Old Index