pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/tools freebsd 12 doesn't have /usr/bin/tbl, so chec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf84ae9abf8a
branches:  trunk
changeset: 365657:cf84ae9abf8a
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Jul 22 18:10:25 2017 +0000

description:
freebsd 12 doesn't have /usr/bin/tbl, so check for its existence before
deciding to use it.

diffstat:

 mk/tools/tools.FreeBSD.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 8609e5aad70c -r cf84ae9abf8a mk/tools/tools.FreeBSD.mk
--- a/mk/tools/tools.FreeBSD.mk Sat Jul 22 18:05:43 2017 +0000
+++ b/mk/tools/tools.FreeBSD.mk Sat Jul 22 18:10:25 2017 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index