summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-13 08:29:12 +0000
committerobache <obache@pkgsrc.org>2010-02-13 08:29:12 +0000
commit2644b78a869cc49c03febf93ea98c75f4ff27e63 (patch)
tree80d2eb8efd3b348fc09649171d50735c1bb32515 /mk/platform
parent5d157caeaece195df255852c101c4ed98d8093c9 (diff)
downloadpkgsrc-2644b78a869cc49c03febf93ea98c75f4ff27e63.tar.gz
for SSD/Linux, /usr/bin/false, not /bin/false.
Diffstat (limited to 'mk/platform')
-rw-r--r--mk/platform/Linux.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk
index f0c2c69ae19..53707f13ef8 100644
--- a/mk/platform/Linux.mk
+++ b/mk/platform/Linux.mk
@@ -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 @@ DEFAULT_SERIAL_DEVICE?= /dev/null
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)