diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-17 20:58:58 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-17 20:58:58 +0000 |
commit | 7357eef2ae12df9685810a3baa2851fd46c9e722 (patch) | |
tree | 4a4d68a558f407a04d4d26de37863cb7f7ec1bda /mk | |
parent | f60c520a97e9a1950441ccbbfde6ab8fd4b85e98 (diff) | |
download | pkgsrc-7357eef2ae12df9685810a3baa2851fd46c9e722.tar.gz |
The OpenBSD chgrp and chown can be in different places depending on the
OpenBSD release, so check for the right location.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/tools.OpenBSD.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/tools/tools.OpenBSD.mk b/mk/tools/tools.OpenBSD.mk index 9ac67f74ac2..35c6df00096 100644 --- a/mk/tools/tools.OpenBSD.mk +++ b/mk/tools/tools.OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.OpenBSD.mk,v 1.14 2005/06/03 22:54:44 jlam Exp $ +# $NetBSD: tools.OpenBSD.mk,v 1.15 2005/06/17 20:58:58 jlam Exp $ # # System-supplied tools for the OpenBSD operating system. @@ -6,9 +6,17 @@ TOOLS_PLATFORM.[?= [ # shell builtin TOOLS_PLATFORM.awk?= /usr/bin/awk TOOLS_PLATFORM.basename?= /usr/bin/basename 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(/sbin/chown) +TOOLS_PLATFORM.chown?= /sbin/chown +.elif exists(/usr/sbin/chown) TOOLS_PLATFORM.chown?= /usr/sbin/chown +.endif TOOLS_PLATFORM.cmp?= /usr/bin/cmp TOOLS_PLATFORM.cp?= /bin/cp TOOLS_PLATFORM.cut?= /usr/bin/cut |