summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2006-03-09 12:55:02 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2006-03-09 12:55:02 +0000
commit00602d09260ca1b69df82ca536c2dafe18babbb0 (patch)
tree23b52dc7d895d96273d07440cb57eb1806d785e4 /Makefile.inc1
parentc4ee7703249256bf8689be336aafc74266796608 (diff)
downloadsrc-test2-00602d09260ca1b69df82ca536c2dafe18babbb0.tar.gz
src-test2-00602d09260ca1b69df82ca536c2dafe18babbb0.zip
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
Notes
Notes: svn path=/head/; revision=156493
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc15
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 9a47ce20b246..ea688cfc5d6c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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)"; \