nc(1): Adjust makefile and hook into buildworld.
authorzrj <rimvydas.jasinskas@gmail.com>
Thu, 3 Nov 2016 17:19:09 +0000 (19:19 +0200)
committerzrj <zrj@dragonflybsd.org>
Fri, 4 Nov 2016 18:28:12 +0000 (20:28 +0200)
commite3989b5e27b3958175369c77380405f60c4ef19d
tree02ec7fe47fcfdc65ced34a9f91cbb27f3c021573
parent66ceb5e9b7ccc1005b0b710f32228c0b69070e98
nc(1): Adjust makefile and hook into buildworld.

Given that nc(1) in dports is only installed when dports/libressl is used,
but not available when dports/openssl, it is useful to have base nc(1).
Also it makes a very good test case for LTO toolchain testing:
LTO + NOSHARED + libressl + openbsd compat layer + certain parts of libc.
Since base does not provide libprivate_tls lib, compile tls bits just for nc.
usr.bin/Makefile
usr.bin/nc/Makefile