After revision 1.4 of `src/usr.sbin/bsnmpd/bsnmpd/Makefile' the

gensnmptree utility is required at "make depend" time, because it
is used to generate `oid.h' for bsnmpd.

This means that all versions of HEAD before 2004/01/23 16:22:49 need
gensnmptree as a bootstrap util when it's not already installed as
part of the base system.  The first __FreeBSD_version that we can
assume this can work is 700014 which happened after the gensnmptree
change (in -r 1.263 of `src/sys/sys/param.h', at 2006/02/17 14:14:15).

For __FreeBSD_version values before 700014 add gensnmptree to the
bootstrap tools, to allow upgrades from versions of FreeBSD before
that date.

Approved by:	ru, harti
This commit is contained in:
keramida 2006-03-09 12:55:02 +00:00
parent 05ddef3112
commit cbce9d083e

View File

@ -824,6 +824,10 @@ _crunchgen= usr.sbin/crunch/crunchgen
_pwd_mkdb= usr.sbin/pwd_mkdb
.endif
.if ${BOOTSTRAPPING} < 700014
_gensnmptree= usr.sbin/bsnmpd/gensnmptree
.endif
bootstrap-tools:
.for _tool in \
${_strfile} \
@ -839,6 +843,7 @@ bootstrap-tools:
usr.bin/rpcgen \
usr.bin/xinstall \
usr.sbin/config \
${_gensnmptree} \
${_crunchgen} \
${_pwd_mkdb}
${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \