Defeat race with MK_KERBEROS == yes introduced with bootstrap-tools

parallelization work done in r279197

- kerberos5/lib/libroken requires kerberos5/tools/make-roken to build
- kerberos5/tools/asn1_compile, kerberos5/tools/slc, and usr.bin/compile_et
  require kerberos5/lib/libroken and kerberos5/lib/libvers

This race is incredibly evident when cross-building sparc64 on
ref10-amd64.freebsd.org

MFC after: 1 week
Pointyhat to: ngie
This commit is contained in:
Enji Cooper 2015-04-16 21:45:07 +00:00
parent 8ded906d2a
commit 6c4f929517

View File

@ -1357,8 +1357,13 @@ _kerberos5_bootstrap_tools= \
kerberos5/tools/slc \
usr.bin/compile_et
${_bt}-kerberos5/tools/slc: ${_bt}-kerberos5/lib/libroken
${_bt}-kerberos5/tools/asn1_compile: ${_bt}-kerberos5/lib/libroken
${_bt}-kerberos5/lib/libroken: ${_bt}-kerberos5/tools/make-roken
${_bt}-kerberos5/tools/asn1_compile: \
${_bt}-kerberos5/lib/libroken ${_bt}-kerberos5/lib/libvers
${_bt}-kerberos5/tools/slc: \
${_bt}-kerberos5/lib/libroken ${_bt}-kerberos5/lib/libvers
${_bt}-usr.bin/compile_et: \
${_bt}-kerberos5/lib/libroken ${_bt}-kerberos5/lib/libvers
.endif
bootstrap-tools: .PHONY