openbsd-ports/archivers/freeze/patches/patch-Makefile_in
jolan e05af7b2d3 make this respect ${PREFIX}/${SYSCONFDIR}, from Xavier Santolaria
while here, also sync w/update-{patches,plist}
2003-08-02 01:41:43 +00:00

29 lines
946 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.2 2003/08/02 01:41:43 jolan Exp $
--- Makefile.in.orig 1993-02-24 14:36:56.000000000 +0100
+++ Makefile.in 2003-08-01 08:29:26.000000000 +0200
@@ -15,10 +15,11 @@ EXE =
.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 @@ HDRS = bitio.h\
# 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=\"%%SYSCONFDIR%%/freeze.cnf\"
LINTFLAGS = -DDEBUG -DGATHER_STAT -x -h