summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-07-22 18:10:25 +0000
committermaya <maya@pkgsrc.org>2017-07-22 18:10:25 +0000
commit875fe5a7ac554da4024946bb0880f4f6fee0221f (patch)
tree5ce699ca5b304b2c41d97a4cbc8b379fc528058d /mk
parent2f48647405901ce58cf9cf882639bb26daeb7d6d (diff)
downloadpkgsrc-875fe5a7ac554da4024946bb0880f4f6fee0221f.tar.gz
freebsd 12 doesn't have /usr/bin/tbl, so check for its existence before
deciding to use it.
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 715628602db..7841315e47d 100644
--- a/mk/tools/tools.FreeBSD.mk
+++ b/mk/tools/tools.FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.FreeBSD.mk,v 1.43 2015/02/01 08:48:56 obache Exp $
+# $NetBSD: tools.FreeBSD.mk,v 1.44 2017/07/22 18:10:25 maya Exp $
#
# System-supplied tools for the FreeBSD operating system.
@@ -80,7 +80,9 @@ TOOLS_PLATFORM.sort?= /usr/bin/sort
TOOLS_PLATFORM.strip?= /usr/bin/strip
TOOLS_PLATFORM.tail?= /usr/bin/tail
TOOLS_PLATFORM.tar?= /usr/bin/tar
+.if exists(/usr/bin/tbl)
TOOLS_PLATFORM.tbl?= /usr/bin/tbl
+.endif
TOOLS_PLATFORM.tee?= /usr/bin/tee
TOOLS_PLATFORM.test?= test # shell builtin
TOOLS_PLATFORM.touch?= /usr/bin/touch