summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2005-08-08 21:43:35 +0000
committerxtraeme <xtraeme>2005-08-08 21:43:35 +0000
commit13a63de45fb59bfb2c68e37ce2643900745cf5fe (patch)
treea23e8e2899c34abf541dad430fd07722e8fc6790 /mk
parenta1fcc7fab00edf20f2b5da0df83c7f2f75a78a18 (diff)
downloadpkgsrc-13a63de45fb59bfb2c68e37ce2643900745cf5fe.tar.gz
Set TOOLS_PLATFORM.shlock only if exists the binary on /usr/bin,
reported by Lars Nordlund via tech-pkg@.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/tools.FreeBSD.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/tools.FreeBSD.mk b/mk/tools/tools.FreeBSD.mk
index cf45c801952..919ba3668d7 100644
--- a/mk/tools/tools.FreeBSD.mk
+++ b/mk/tools/tools.FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.FreeBSD.mk,v 1.17 2005/06/24 20:59:59 jlam Exp $
+# $NetBSD: tools.FreeBSD.mk,v 1.18 2005/08/08 21:43:35 xtraeme Exp $
#
# System-supplied tools for the FreeBSD operating system.
@@ -55,7 +55,9 @@ TOOLS_PLATFORM.rm?= /bin/rm
TOOLS_PLATFORM.rmdir?= /bin/rmdir
TOOLS_PLATFORM.sed?= /usr/bin/sed
TOOLS_PLATFORM.sh?= /bin/sh
+.if exists(/usr/bin/shlock)
TOOLS_PLATFORM.shlock?= /usr/bin/shlock
+.endif
TOOLS_PLATFORM.sort?= /usr/bin/sort
TOOLS_PLATFORM.strip?= /usr/bin/strip
TOOLS_PLATFORM.tail?= /usr/bin/tail