1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/archivers/bzip2/files/patch-aa

30 lines
644 B
Plaintext
Raw Normal View History

1999-04-24 17:19:04 +00:00
--- Makefile.orig Fri Oct 23 04:57:22 1998
+++ Makefile Wed Mar 24 00:19:11 1999
@@ -1,6 +1,7 @@
-CC=gcc
-CFLAGS=-Wall -O2 -fomit-frame-pointer -fno-strength-reduce
+CC?=gcc
+CFLAGS?=-O2
+CFLAGS+=-Wall -fomit-frame-pointer -fno-strength-reduce
OBJS= blocksort.o \
huffman.o \
@@ -20,6 +21,7 @@
1998-10-28 09:37:30 +00:00
lib: $(OBJS)
rm -f libbz2.a
ar clq libbz2.a $(OBJS)
+ ranlib libbz2.a
1998-04-27 21:29:55 +00:00
1998-10-28 09:37:30 +00:00
test: bzip2
@cat words1
1999-04-24 17:19:04 +00:00
@@ -38,7 +40,7 @@
1998-10-28 09:37:30 +00:00
clean:
rm -f *.o libbz2.a bzip2 bzip2recover sample1.rb2 sample2.rb2 sample1.tst sample2.tst
1998-04-27 21:29:55 +00:00
1998-10-28 09:37:30 +00:00
-.c.o: $*.o bzlib.h bzlib_private.h
+.c.o: bzlib.h bzlib_private.h
$(CC) $(CFLAGS) -c $*.c -o $*.o
1998-04-27 21:29:55 +00:00
1998-10-28 09:37:30 +00:00
tarfile: