38 lines
1.1 KiB
Diff
38 lines
1.1 KiB
Diff
diff -urNp ncompress-4.2.4-orig/Makefile.def ncompress-4.2.4/Makefile.def
|
|
--- ncompress-4.2.4-orig/Makefile.def 1992-10-28 12:10:52.000000000 +0100
|
|
+++ ncompress-4.2.4/Makefile.def 2010-02-23 13:38:39.000000000 +0100
|
|
@@ -1,13 +1,13 @@
|
|
# Makefile generated by build.
|
|
|
|
# C complier
|
|
-CC=cc
|
|
+CC=cc $(RPM_OPT_FLAGS)
|
|
|
|
# Install directory for binarys
|
|
-BINDIR=/usr/local/bin
|
|
+BINDIR=/usr/bin
|
|
|
|
# Install directory for manual
|
|
-MANDIR=/usr/local/man/man1
|
|
+MANDIR=/usr/man/man1
|
|
|
|
# compiler options:
|
|
# options is a collection of:
|
|
@@ -28,14 +28,14 @@ MANDIR=/usr/local/man/man1
|
|
# -DDEF_ERRNO=1 Define error (not defined in errno.h).
|
|
# -DMAXSEG_64K=1 -BITS=16 Support segment processsor like 80286.
|
|
#
|
|
-options= -DDIRENT=1 -DUSERMEM=800000 -DREGISTERS=3
|
|
+options= -DDIRENT=1 -DSYSDIR=1 -DUTIME_H=1 -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024 -DBYTEORDER=$(ENDIAN)
|
|
|
|
# libary options
|
|
LBOPT=
|
|
|
|
|
|
compress: Makefile compress42.c patchlevel.h
|
|
- $(CC) -o compress $(options) "-DCOMPILE_DATE=\"`date`\"" compress42.c $(LBOPT)
|
|
+ $(CC) -o compress $(options) "-DCOMPILE_DATE=\"`date`\"" compress42.c
|
|
|
|
install: compress
|
|
[ -f $(BINDIR)/compress ] && \
|