Imported partly very pretty, partly very messy port of nvi.

Nasty situation is because of no ftruncate(), which causes awfulness
trying to emulate it. No writev() and fsync() system calls are less
serious, but the port will be cleaned up a great deal if and when those
system calls appear.
This commit is contained in:
Ben Gras 2005-09-06 17:35:41 +00:00
parent 1de242401f
commit de5fac2e2b
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,4 @@
all install clean:
cd gnu && $(MAKE) $@
cd bsd && $(MAKE) $@

14
contrib/bsd/Makefile Executable file
View File

@ -0,0 +1,14 @@
NVI=nvi-1.79
NVIWORK=$(NVI)/minix
all:
-mkdir $(NVIWORK)
cd $(NVIWORK) && CFLAGS="-D_MINIX=1 -D_POSIX_SOURCE=1" ../build/configure.minix --prefix=/usr/local --host=minix && make $@
install: all
cd $(NVIWORK) && sh ../build/install.minix
clean:
if [ -f $(NVIWORK)/Makefile ]; then cd $(NVIWORK) && make clean; fi