pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/tools



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Tue Feb 12 18:40:16 UTC 2019

Modified Files:
        pkgsrc/mk/tools: tools.FreeBSD.mk

Log Message:
tools.FreeBSD.mk: make groff conditional

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


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/mk/tools/tools.FreeBSD.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/tools/tools.FreeBSD.mk
diff -u pkgsrc/mk/tools/tools.FreeBSD.mk:1.47 pkgsrc/mk/tools/tools.FreeBSD.mk:1.48
--- pkgsrc/mk/tools/tools.FreeBSD.mk:1.47       Mon Nov 12 14:22:58 2018
+++ pkgsrc/mk/tools/tools.FreeBSD.mk    Tue Feb 12 18:40:16 2019
@@ -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



Home | Main Index | Thread Index | Old Index