summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-08-08 21:43:35 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-08-08 21:43:35 +0000
commita386e5f9163e426ff98a518467571955d177d195 (patch)
treea23e8e2899c34abf541dad430fd07722e8fc6790 /mk
parentb274e3ade51f7e994ea97dd21b5e731c8fe08b11 (diff)
downloadpkgsrc-a386e5f9163e426ff98a518467571955d177d195.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