summaryrefslogtreecommitdiff
path: root/mk/platform
diff options
context:
space:
mode:
authorobache <obache>2011-03-20 09:00:08 +0000
committerobache <obache>2011-03-20 09:00:08 +0000
commit5d2fa4b0f66de662e0f03bc04337e0dde577c19d (patch)
treea2516b4bf4d29c7cff70f93e8e5326bc72d4b51d /mk/platform
parent1bce3a9c954a69cf94be1c3eeabe7f4600ac31bd (diff)
downloadpkgsrc-5d2fa4b0f66de662e0f03bc04337e0dde577c19d.tar.gz
/usr/bin/su for SSD/Linux.
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 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