summaryrefslogtreecommitdiff
path: root/archivers/bzip2/patches
diff options
context:
space:
mode:
authortron <tron>1998-10-14 21:51:14 +0000
committertron <tron>1998-10-14 21:51:14 +0000
commit6ae410289d90c89286d159bc51f739a35e89f632 (patch)
tree53a66bbc5666497036b70054df08f54e4ca33919 /archivers/bzip2/patches
parentca2409b7dcd82998da14dd76fa683bd12fa32262 (diff)
downloadpkgsrc-6ae410289d90c89286d159bc51f739a35e89f632.tar.gz
Update for bzip2 package to version 0.9.0b created by Geoff C. Wing.
Diffstat (limited to 'archivers/bzip2/patches')
-rw-r--r--archivers/bzip2/patches/patch-aa30
1 files changed, 30 insertions, 0 deletions
diff --git a/archivers/bzip2/patches/patch-aa b/archivers/bzip2/patches/patch-aa
new file mode 100644
index 00000000000..46e20e8a908
--- /dev/null
+++ b/archivers/bzip2/patches/patch-aa
@@ -0,0 +1,30 @@
+$NetBSD: patch-aa,v 1.1 1998/10/14 21:51:14 tron Exp $
+
+--- Makefile.orig Wed Sep 9 13:30:41 1998
++++ Makefile Wed Oct 14 23:36:32 1998
+@@ -14,12 +14,13 @@
+
+ bzip2: lib
+ $(CC) $(CFLAGS) -c bzip2.c
+- $(CC) $(CFLAGS) -o bzip2 bzip2.o -L. -lbz2
+- $(CC) $(CFLAGS) -o bzip2recover bzip2recover.c
++ $(CC) $(CFLAGS) -static -o bzip2 bzip2.o -L. -lbz2
++ $(CC) $(CFLAGS) -static -o bzip2recover bzip2recover.c
+
+ lib: $(OBJS)
+ rm -f libbz2.a
+ ar clq libbz2.a $(OBJS)
++ ranlib libbz2.a
+
+ test: bzip2
+ @cat words1
+@@ -37,9 +38,6 @@
+
+ clean:
+ rm -f *.o libbz2.a bzip2 bzip2recover sample1.rb2 sample2.rb2 sample1.tst sample2.tst
+-
+-.c.o: $*.o bzlib.h bzlib_private.h
+- $(CC) $(CFLAGS) -c $*.c -o $*.o
+
+ tarfile:
+ tar cvf interim.tar *.c *.h Makefile manual.texi manual.ps LICENSE bzip2.1 bzip2.1.preformatted bzip2.txt words1 words2 words3 sample1.ref sample2.ref sample1.bz2 sample2.bz2 *.html README libbz2.def libbz2.dsp dlltest.dsp