summaryrefslogtreecommitdiff
path: root/mk/platform/Linux.mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-03-20 09:00:08 +0000
committerobache <obache@pkgsrc.org>2011-03-20 09:00:08 +0000
commit90245317c98c9615b4be6e5a377145461ccca43c (patch)
treea2516b4bf4d29c7cff70f93e8e5326bc72d4b51d /mk/platform/Linux.mk
parent2a0c892c395ba0dd6d1d3390b54cba221009748c (diff)
downloadpkgsrc-90245317c98c9615b4be6e5a377145461ccca43c.tar.gz
/usr/bin/su for SSD/Linux.
Diffstat (limited to 'mk/platform/Linux.mk')
-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