pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools Adjust chgrp/chown paths for SSD/Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a669c45f6ad0
branches:  trunk
changeset: 571488:a669c45f6ad0
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 13 08:30:59 2010 +0000

description:
Adjust chgrp/chown paths for SSD/Linux.

diffstat:

 mk/tools/tools.Linux.mk |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 0ee13e9f423d -r a669c45f6ad0 mk/tools/tools.Linux.mk
--- a/mk/tools/tools.Linux.mk   Sat Feb 13 08:29:12 2010 +0000
+++ b/mk/tools/tools.Linux.mk   Sat Feb 13 08:30:59 2010 +0000
@@ -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?=         /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)



Home | Main Index | Thread Index | Old Index