summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache>2010-02-13 08:30:59 +0000
committerobache <obache>2010-02-13 08:30:59 +0000
commit1b75c57842b3d73e6c60a140e6f7c3e1055a43bf (patch)
tree471f495f0bc5a10a1bb7bd82dbbaf037ebb1712f /mk
parent911f45d5c135dd71b581555c9ef0e998260fe1b0 (diff)
downloadpkgsrc-1b75c57842b3d73e6c60a140e6f7c3e1055a43bf.tar.gz
Adjust chgrp/chown paths for SSD/Linux.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.Linux.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/tools/tools.Linux.mk b/mk/tools/tools.Linux.mk
index d5b732b7b13..f7735c829e0 100644
--- a/mk/tools/tools.Linux.mk
+++ b/mk/tools/tools.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.Linux.mk,v 1.46 2010/01/16 02:16:35 obache Exp $
+# $NetBSD: tools.Linux.mk,v 1.47 2010/02/13 08:30:59 obache Exp $
#
# System-supplied tools for the Linux operating system.
@@ -27,9 +27,17 @@ TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2
TOOLS_PLATFORM.bzip2?= /bin/bzip2
.endif
TOOLS_PLATFORM.cat?= /bin/cat
+.if exists(/bin/chgrp)
TOOLS_PLATFORM.chgrp?= /bin/chgrp
+.elif exists(/usr/bin/chgrp)
+TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp
+.endif
TOOLS_PLATFORM.chmod?= /bin/chmod
+.if exists(/bin/chown)
TOOLS_PLATFORM.chown?= /bin/chown
+.elif exists(/usr/sbin/chown)
+TOOLS_PLATFORM.chown?= /usr/sbin/chown
+.endif
.if exists(/bin/cmp)
TOOLS_PLATFORM.cmp?= /bin/cmp
.elif exists(/usr/bin/cmp)