pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools tools.FreeBSD.mk: make groff conditional



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4f156e783d1e
branches:  trunk
changeset: 329621:4f156e783d1e
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Tue Feb 12 18:40:16 2019 +0000

description:
tools.FreeBSD.mk: make groff conditional

FreeBSD 12 removes groff: test its existence before using it.

diffstat:

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

diffs (19 lines):

diff -r 2405446c098e -r 4f156e783d1e mk/tools/tools.FreeBSD.mk
--- a/mk/tools/tools.FreeBSD.mk Tue Feb 12 17:21:32 2019 +0000
+++ b/mk/tools/tools.FreeBSD.mk Tue Feb 12 18:40:16 2019 +0000
@@ -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.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



Home | Main Index | Thread Index | Old Index