nvi: Convert catalog creation to use hostprog.
commit9d6cd60188fb1eb53b70f94089552f34d78270c0
authorzrj <rimvydas.jasinskas@gmail.com>
Fri, 11 Nov 2016 12:51:43 +0000 (11 14:51 +0200)
committerzrj <zrj@dragonflybsd.org>
Mon, 14 Nov 2016 07:31:54 +0000 (14 09:31 +0200)
tree3334e25ce0505e8b89e4afeb7ba4bbf407c19ee4
parent3c5816455043c5788a6e96397194d0f9fdc622f8
nvi: Convert catalog creation to use hostprog.

nvi dump utility is not part of btools, so just split vidump as hostprog.
There were few issues:
 * build races like dump and say spanish get created twice (and raced)
 * buildworld failures, from time to time i hit ./dump linking race (rare)
 * ./dump being used as target program (problems on crosscompilations)
 * missing env LANG=C for sort, minor issues in awk script and SHAREDIR.

Now even "cd usr.bin/vi && make -j9 depend all" should be race free.
usr.bin/vi/Makefile
usr.bin/vi/catalog/Makefile
usr.bin/vi/vidump/Makefile [new file with mode: 0644]