summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortriaxx <triaxx@pkgsrc.org>2019-02-12 18:40:16 +0000
committertriaxx <triaxx@pkgsrc.org>2019-02-12 18:40:16 +0000
commitabc1d6005b53d970536336757b8ac629d4bc7657 (patch)
tree5f4ae096bd2e0a55ee7864e5b73b86353f46e140 /mk
parent7b8b5c97ad3937466b40b396171c27da1868e853 (diff)
downloadpkgsrc-abc1d6005b53d970536336757b8ac629d4bc7657.tar.gz
tools.FreeBSD.mk: make groff conditional
FreeBSD 12 removes groff: test its existence before using 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 53d31ff0771..29680fe5e5b 100644
--- a/mk/tools/tools.FreeBSD.mk
+++ b/mk/tools/tools.FreeBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: tools.FreeBSD.mk,v 1.47 2018/11/12 14:22:58 jperkin Exp $
+# $NetBSD: tools.FreeBSD.mk,v 1.48 2019/02/12 18:40:16 triaxx Exp $
#
# System-supplied tools for the FreeBSD operating system.
@@ -38,7 +38,9 @@ TOOLS_PLATFORM.gegrep?= /usr/bin/egrep
TOOLS_PLATFORM.gfgrep?= /usr/bin/fgrep
TOOLS_PLATFORM.ggrep?= /usr/bin/grep
TOOLS_PLATFORM.grep?= /usr/bin/grep
+.if exists(/usr/bin/groff)
TOOLS_PLATFORM.groff?= /usr/bin/groff
+.endif
TOOLS_PLATFORM.gstrip?= /usr/bin/strip
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat