aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2011-02-22 08:13:49 +0000
commit423102c6faf6de84c95d2bba2a049b6f8a339e3e (patch)
treebc4366064e389b18b74f217f17bd3ee50484e806 /usr.bin/Makefile
parent3dfe8ce9422826e45f16c9a5879bd53477d74597 (diff)
downloadsrc-423102c6faf6de84c95d2bba2a049b6f8a339e3e.tar.gz
src-423102c6faf6de84c95d2bba2a049b6f8a339e3e.zip
Flesh out WITHOUT_GROFF support to DTRT.
A full featured groff is required during buildworld, so build it always and don't rely on it being present on the host system. vgrind(1) is tightly coupled to a roff processor and will not be built/installed when groff is disabled. Also much of the roff'ed documentation under share/doc will not be built/installed when WITHOUT_GROFF is defined. Reviewed by: ru (partial)
Notes
Notes: svn path=/head/; revision=218941
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index f7965f14e88a..6667ec84f6d2 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -239,6 +239,10 @@ _clang= clang
SUBDIR+= hesinfo
.endif
+.if ${MK_GROFF} != "no"
+SUBDIR+= vgrind
+.endif
+
.if ${MK_OPENSSL} != "no"
SUBDIR+= bc
SUBDIR+= chkey
@@ -320,8 +324,6 @@ SUBDIR+= rpcgen
SUBDIR+= unifdef
SUBDIR+= xlint
SUBDIR+= xstr
-# XXX maybe under textproc?
-SUBDIR+= vgrind
SUBDIR+= yacc
.endif