diff options
author | obrien <obrien@FreeBSD.org> | 2002-05-10 00:50:43 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-05-10 00:50:43 +0000 |
commit | 53be32ddbcc82f7c3659b65303c7ea333c3eaeef (patch) | |
tree | 0b363cd3c417c626409564d4d6fd10463e3f41a7 /Makefile.inc1 | |
parent | 77caa62973280c4d146fd7d93f8daf6aacff7bb3 (diff) | |
download | FreeBSD-src-53be32ddbcc82f7c3659b65303c7ea333c3eaeef.zip FreeBSD-src-53be32ddbcc82f7c3659b65303c7ea333c3eaeef.tar.gz |
Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index da5b508..e36c0eb 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -580,12 +580,15 @@ installmost: .if exists(${.CURDIR}/games) && !defined(NOGAMES) _strfile= games/fortune/strfile .endif +.if ${CXX} != "c++" +_cxx_consumers= gnu/usr.bin/gperf gnu/usr.bin/groff +.endif bootstrap-tools: .for _tool in ${_strfile} usr.bin/yacc usr.bin/colldef \ usr.bin/rpcgen usr.bin/xargs usr.bin/xinstall \ usr.sbin/config usr.sbin/kbdcontrol \ - gnu/usr.bin/gperf gnu/usr.bin/groff gnu/usr.bin/texinfo + ${_cxx_consumers} gnu/usr.bin/texinfo cd ${.CURDIR}/${_tool}; \ ${MAKE} obj; \ ${MAKE} depend; \ @@ -660,6 +663,9 @@ cross-tools: hierarchy: cd ${.CURDIR}/etc; ${MAKE} distrib-dirs +.if ${CXX} == "c++" +NO_CXX= yes +.endif # # includes - possibly generate and install the include files. # |