Build nvi 2.1.3 on Mac, missing build instructions

Zhihao Yuan lichray at gmail.com
Tue Nov 14 03:16:36 UTC 2017


On Mon, Nov 13, 2017 at 7:52 PM, by <by at meetlost.com> wrote:

> I am trying to use nvi on my Mac, and after I ‘brew install nvi’, I found
> the version is 1.81.6, not the latest.
>
> I know the version of nvi in freebsd head is 2.1.3 now, so I checkout
> that, and trying to build it myself.
> But I found there is no build/ directory under nvi/, and I know there is a
> build/ directory with nvi-1.79, and the link is:
> https://sites.google.com/a/bostic.com/keithbostic/vi/
>

You suddenly mentioned 3 forks of nvi --
nvi-1.79, nvi-1.8x, and nvi2-2.x.y :/

Long story short,

How can I build the nvi package? It is under base/head/contrib/nvi
> directory. Maybe any Makefile or build instructions under upper directory?
>

among those, only nvi2 is using CMake as
its build system, so if you just want to build it
by yourself,

  https://github.com/lichray/nvi2/wiki/Porting

is a good starting point.  FreeBSD base
commits generated headers to usr.bin/vi
which may not fit your needs (on Mac).

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
_______________________________________________


More information about the freebsd-hackers mailing list