diff --git a/archivers/freeze/Makefile b/archivers/freeze/Makefile index a691d9e75ea..0f8dbf5ef1a 100644 --- a/archivers/freeze/Makefile +++ b/archivers/freeze/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 1999/09/24 13:07:25 brad Exp $ +# $OpenBSD: Makefile,v 1.6 1999/12/26 05:33:14 brad Exp $ DISTNAME= freeze-2.5 CATEGORIES= archivers @@ -8,6 +8,5 @@ MASTER_SITES= ftp://ftp.cdrom.com/pub/unixfreeware/archive/ \ MAINTAINER= ports@openbsd.org GNU_CONFIGURE= yes -ALL_TARGET= prog .include diff --git a/archivers/freeze/patches/patch-aa b/archivers/freeze/patches/patch-aa new file mode 100644 index 00000000000..bd2471be178 --- /dev/null +++ b/archivers/freeze/patches/patch-aa @@ -0,0 +1,10 @@ +--- configure.orig Sat Dec 25 23:57:00 1999 ++++ configure Sat Dec 25 23:57:19 1999 +@@ -126,7 +126,6 @@ + ${CC-cc} -E conftest.c > conftest.out 2>&1 + if egrep yes conftest.out >/dev/null 2>&1; then + GCC=1 # For later tests. +- CC="$CC -O" + fi + rm -f conftest* + diff --git a/archivers/freeze/patches/patch-ab b/archivers/freeze/patches/patch-ab new file mode 100644 index 00000000000..5ecd288ec8c --- /dev/null +++ b/archivers/freeze/patches/patch-ab @@ -0,0 +1,36 @@ +--- Makefile.in.orig Wed Feb 24 08:36:56 1993 ++++ Makefile.in Sun Dec 26 00:20:23 1999 +@@ -3,7 +3,7 @@ + VPATH = $(srcdir) + + CC = @CC@ +-CFLAGS = -I. # -O2 # for gcc 2.2.2 ++CFLAGS += -I. + + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ +@@ -15,10 +15,11 @@ + + .PHONY: default + ++all: prog + default: prog + + # Added the prefix macro, so that it was easier to change installation place. +-prefix = /usr/local ++prefix = $(PREFIX) + DEST = $(prefix)/bin + MANDEST = $(prefix)/man/man1 + SEC = 1 +@@ -32,9 +33,9 @@ + + # define DEFFILE as a filename with freeze's default Huffman values + # e.g. -DDEFFILE=\"/etc/default/freeze\" +-# !!!! NOTE !!!! default is now $(prefix)/lib/freeze.cnf !!!!! ++# !!!! NOTE !!!! default is now /etc/freeze.cnf !!!!! + +-OPTIONS = -DDEFFILE=\"$(prefix)/lib/freeze.cnf\" ++OPTIONS = -DDEFFILE=\"/etc/freeze.cnf\" + + LINTFLAGS = -DDEBUG -DGATHER_STAT -x -h + diff --git a/archivers/freeze/patches/patch-ac b/archivers/freeze/patches/patch-ac new file mode 100644 index 00000000000..09310fd83c1 --- /dev/null +++ b/archivers/freeze/patches/patch-ac @@ -0,0 +1,11 @@ +--- freeze.1.orig Sun Dec 26 00:19:16 1999 ++++ freeze.1 Sun Dec 26 00:21:11 1999 +@@ -109,7 +109,7 @@ + of following files in the command string. An explicite definition + of the file's type can give up to 2% of additional compression. + The list of types is stored in file +-.IR /usr/local/lib/freeze.cnf . ++.IR /etc/freeze.cnf . + Types may be abbreviated while not ambigious. You can also determine + values for the static Huffman table by using a list of 8 numbers + separated by commas instead of diff --git a/archivers/freeze/patches/patch-ad b/archivers/freeze/patches/patch-ad new file mode 100644 index 00000000000..0dcfa1f3067 --- /dev/null +++ b/archivers/freeze/patches/patch-ad @@ -0,0 +1,16 @@ +--- statist.1.orig Sun Dec 26 00:19:25 1999 ++++ statist.1 Sun Dec 26 00:22:59 1999 +@@ -102,11 +102,8 @@ + percentiles and sigma) are FYI only. + .PP + You may create the +-.IR /etc/default/freeze +-file (if you don't like +-.IR /etc/default/ +-directory, choose another - in MS-DOS it is FREEZE.CNF in +-the directory of FREEZE.EXE), which has the following format: ++.IR /etc/freeze.cnf ++file, which has the following format: + .in +8 + .I name + =