Module Name: src Committed By: nia Date: Fri Aug 19 15:55:37 UTC 2022
Modified Files: src/external/mit/xorg/bin/xdm: Makefile Log Message: 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 To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/external/mit/xorg/bin/xdm/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/mit/xorg/bin/xdm/Makefile diff -u src/external/mit/xorg/bin/xdm/Makefile:1.18 src/external/mit/xorg/bin/xdm/Makefile:1.19 --- src/external/mit/xorg/bin/xdm/Makefile:1.18 Tue Aug 16 22:44:06 2022 +++ src/external/mit/xorg/bin/xdm/Makefile Fri Aug 19 15:55:36 2022 @@ -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 @@ SRCS+= Login.c greet.c verify.c 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