From de5fac2e2b0fab67b90c94ca29c42aa8612098e4 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 6 Sep 2005 17:35:41 +0000 Subject: [PATCH] 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. --- contrib/Makefile | 1 + contrib/bsd/Makefile | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100755 contrib/bsd/Makefile diff --git a/contrib/Makefile b/contrib/Makefile index 961a3f795..6f8b26549 100755 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,3 +1,4 @@ all install clean: cd gnu && $(MAKE) $@ + cd bsd && $(MAKE) $@ diff --git a/contrib/bsd/Makefile b/contrib/bsd/Makefile new file mode 100755 index 000000000..a85f02149 --- /dev/null +++ b/contrib/bsd/Makefile @@ -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 + -- 2.44.0