1diff -Naur ncompress-4.2.4.2.orig/Makefile.def ncompress-4.2.4.2/Makefile.def
2--- ncompress-4.2.4.2.orig/Makefile.def 2007-09-06 22:28:42.000000000 -0500
3+++ ncompress-4.2.4.2/Makefile.def 2009-08-18 12:30:53.000000000 -0500
4@@ -3,14 +3,16 @@
5 # C complier
6 #CC=cc
7
8+PREFIX=/usr/local
9+
10 # Install prefix
11 DESTDIR=
12
13 # Install directory for binarys
14-BINDIR=/usr/local/bin
15+BINDIR=$(PREFIX)/bin
16
17 # Install directory for manual
18-MANDIR=/usr/local/man/man1
19+MANDIR=$(PREFIX)/man/man1
20
21 # compiler options:
22 # options is a collection of:
23@@ -31,7 +33,7 @@
24 # -DDEF_ERRNO=1 Define error (not defined in errno.h).
25 # -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
26 #
27-options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3
28+options= $(CFLAGS) $(CPPFLAGS) -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3 -DNOFUNCDEF=1
29
30 # libary options
31 LBOPT= $(LDFLAGS)