diff options
author | obache <obache@pkgsrc.org> | 2010-02-13 08:30:59 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2010-02-13 08:30:59 +0000 |
commit | f76f088a998ca6c35ff8e09bdae4041460c8dd7a (patch) | |
tree | 471f495f0bc5a10a1bb7bd82dbbaf037ebb1712f /mk/tools | |
parent | 2644b78a869cc49c03febf93ea98c75f4ff27e63 (diff) | |
download | pkgsrc-f76f088a998ca6c35ff8e09bdae4041460c8dd7a.tar.gz |
Adjust chgrp/chown paths for SSD/Linux.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/tools.Linux.mk | 10 |
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) |