git: nvi: Convert catalog creation to use hostprog.

Rimvydas Jasinskas zrj at
Sun Nov 13 23:17:51 PST 2016

commit 9d6cd60188fb1eb53b70f94089552f34d78270c0
Author: zrj <rimvydas.jasinskas at>
Date:   Fri Nov 11 14:51:43 2016 +0200

    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.

Summary of changes:
 usr.bin/vi/Makefile         |  2 +-
 usr.bin/vi/catalog/Makefile | 34 ++++++++++++++--------------------
 usr.bin/vi/vidump/Makefile  | 12 ++++++++++++
 3 files changed, 27 insertions(+), 21 deletions(-)
 create mode 100644 usr.bin/vi/vidump/Makefile

DragonFly BSD source repository

More information about the Commits mailing list