git: btools: Strip libmd dep for usr.bin/sort.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Wed Nov 15 11:19:34 PST 2017


commit 6d7e22ec317ce5071300300877ef442b22a4bd4e
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Wed Nov 15 00:25:35 2017 +0200

    btools: Strip libmd dep for usr.bin/sort.
    
    Implement SORT_RANDOM option and do not use if BOOTSTRAPPING.
    This option is useless for a buildworld/buildkernel.
    
    This allows to have sort(1) that only depends on libc.

Summary of changes:
 usr.bin/sort/Makefile |  5 +++--
 usr.bin/sort/coll.c   |  8 ++++++++
 usr.bin/sort/file.c   |  5 ++++-
 usr.bin/sort/sort.c   | 31 ++++++++++++++++++++++++++++++-
 usr.bin/sort/sort.h   |  6 ++++++
 5 files changed, 51 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6d7e22ec317ce5071300300877ef442b22a4bd4e


-- 
DragonFly BSD source repository


More information about the Commits mailing list