openbsd-ports/archivers/lzma/patches/patch-utils_Makefile
steven d460e8df37 initial import of lzma utils 4.27.1
The purpose of LZMA utils is to make the usage of LZMA compression
easy on *NIX based systems. The average compression ratio is usually
30% better than 'gzip --best' and 15% better than 'bzip2 --best'.
Some files can be compressed even over 50% smaller than with gzip.
(read DESCR for more...)

thanks to todd@ for testing on 7 archs, and to everyone else who tested.

help/ok naddy@, ok alek@, and before the latest tweaks: ok todd@
2006-01-30 13:29:00 +00:00

15 lines
558 B
Plaintext

$OpenBSD: patch-utils_Makefile,v 1.1.1.1 2006/01/30 13:29:00 steven Exp $
--- utils/Makefile.orig Sun Jan 22 16:45:05 2006
+++ utils/Makefile Sun Jan 22 16:45:32 2006
@@ -2,8 +2,8 @@
## -D_LZMA_SYSTEM_SIZE_T should keep it working also on 64-bit arch.
## -D_LZMA_PROB32 is a speed optimization.
-CC = gcc -D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32
-LD = gcc
+CC = $(MYCC) -D_LZMA_IN_CB -D_LZMA_OUT_READ -D_LZMA_SYSTEM_SIZE_T -D_LZMA_PROB32
+LD = $(MYCC)
LDFLAGS = $(CFLAGS)
RM = rm -f
LZMA_C = ../sdk/SRC/7zip/Compress/LZMA_C