From 5d2fa4b0f66de662e0f03bc04337e0dde577c19d Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 20 Mar 2011 09:00:08 +0000 Subject: /usr/bin/su for SSD/Linux. --- mk/platform/Linux.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk/platform') diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index ab892f75c0d..8276be29149 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.40 2010/07/08 04:57:36 dholland Exp $ +# $NetBSD: Linux.mk,v 1.41 2011/03/20 09:00:08 obache Exp $ # # Variable definitions for the Linux operating system. @@ -12,7 +12,11 @@ PKGLOCALEDIR?= share PS?= /bin/ps # XXX: default from defaults/mk.conf. Verify/correct for this platform # and remove this comment. +.if exists(/usr/bin/su) +SU?= /usr/bin/su +.else SU?= /bin/su +.endif TYPE?= type # Shell builtin CPP_PRECOMP_FLAGS?= # unset -- cgit v1.2.3