pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools The OpenBSD chgrp and chown can be in differe...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ae24387af609
branches: trunk
changeset: 495701:ae24387af609
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Jun 17 20:58:58 2005 +0000
description:
The OpenBSD chgrp and chown can be in different places depending on the
OpenBSD release, so check for the right location.
diffstat:
mk/tools/tools.OpenBSD.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 0668e742e551 -r ae24387af609 mk/tools/tools.OpenBSD.mk
--- a/mk/tools/tools.OpenBSD.mk Fri Jun 17 20:30:55 2005 +0000
+++ b/mk/tools/tools.OpenBSD.mk Fri Jun 17 20:58:58 2005 +0000
@@ -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.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
Home |
Main Index |
Thread Index |
Old Index