Build nvi 2.1.3 on Mac, missing build instructions
by
by at meetlost.com
Tue Nov 14 12:15:04 UTC 2017
Hi,
I have tried build nvi from FreeBSD sources directly on my Mac. And I got the nvi binary finally :-)
Basic steps are below:
1. Install required dependency libs(bsdmake and ncurses)
$ brew install bsdmake
$ brew install ncurses
2. Checkout the sources from FreeBSD svn repo
$ svn co https://svn.freebsd.org/base/releng/10.3/usr.bin/vi <https://svn.freebsd.org/base/releng/10.3/usr.bin/vi>
$ cd vi/
$ svn co https://svn.freebsd.org/base/releng/10.3/contrib/nvi <https://svn.freebsd.org/base/releng/10.3/contrib/nvi>
$ cp /usr/include/db.h ./
$ mkdir contrib
$ mv nvi contrib/
3. Make some changes, there is a diff file available via below link
http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt <http://by.meetlost.com/diffs/port_nvi_to_macOS.diff.txt>
by
More information about the freebsd-hackers
mailing list