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:
@@ -1,3 +1,4 @@
|
||||
|
||||
all install clean:
|
||||
cd gnu && $(MAKE) $@
|
||||
cd bsd && $(MAKE) $@
|
||||
|
||||
14
contrib/bsd/Makefile
Executable file
14
contrib/bsd/Makefile
Executable 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
|
||||
|
||||
Reference in New Issue
Block a user