Sat Feb 13 08:29:13 2010 UTC ()
for SSD/Linux, /usr/bin/false, not /bin/false.


(obache)
diff -r1.35 -r1.36 pkgsrc/mk/platform/Linux.mk

cvs diff -r1.35 -r1.36 pkgsrc/mk/platform/Linux.mk (expand / switch to context diff)
--- pkgsrc/mk/platform/Linux.mk 2010/01/16 02:16:35 1.35
+++ pkgsrc/mk/platform/Linux.mk 2010/02/13 08:29:12 1.36
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.mk,v 1.35 2010/01/16 02:16:35 obache Exp $
+# $NetBSD: Linux.mk,v 1.36 2010/02/13 08:29:12 obache Exp $
 #
 # Variable definitions for the Linux operating system.
 
@@ -20,7 +20,11 @@
 EXPORT_SYMBOLS_LDFLAGS?=	# Don't add symbols to the dynamic symbol table
 GROUPADD?=		/usr/sbin/groupadd
 MOTIF_TYPE_DEFAULT?=	openmotif	# default 2.0 compatible libs type
+.if exists(/usr/bin/false)
+NOLOGIN?=		/usr/bin/false
+.else
 NOLOGIN?=		/bin/false
+.endif
 PKG_TOOLS_BIN?=		${LOCALBASE}/sbin
 ROOT_CMD?=		${SU} - root -c
 .if exists(/etc/ssdlinux_version)