summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-31 21:29:38 +0000
committerobrien <obrien@FreeBSD.org>2003-05-31 21:29:38 +0000
commit2c128d084485849aec0c09047e0db1b7def7fb94 (patch)
tree48116bc126772a164ad23f0296394f0f621900a5 /Makefile.inc1
parent536604960e88de727e6b773972fd146420b306fd (diff)
downloadFreeBSD-src-2c128d084485849aec0c09047e0db1b7def7fb94.zip
FreeBSD-src-2c128d084485849aec0c09047e0db1b7def7fb94.tar.gz
Wrap gperf & groff wth NO_CXX.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index e3ab806..61621a7 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -640,11 +640,14 @@ legacy:
_strfile= games/fortune/strfile
.endif
+.if !defined(NO_CXX)
+_gperf= gnu/usr.bin/gperf
.if ${BOOTSTRAPPING} < 500113
_groff= gnu/usr.bin/groff
.else
_groff= gnu/usr.bin/groff/tmac
.endif
+.endif
.if ( ${BOOTSTRAPPING} < 450005 || \
( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500034 ))
@@ -670,7 +673,7 @@ bootstrap-tools:
usr.bin/makewhatis usr.bin/rpcgen ${_uudecode} \
${_xargs} usr.bin/xinstall ${_yacc} \
usr.sbin/config ${_kbdcontrol} \
- gnu/usr.bin/gperf ${_groff} gnu/usr.bin/texinfo
+ ${_gperf} ${_groff} gnu/usr.bin/texinfo
@${ECHODIR} "===> ${_tool}"; \
cd ${.CURDIR}/${_tool}; \
${MAKE} DIRPRFX=${_tool}/ obj; \
OpenPOWER on IntegriCloud