summaryrefslogtreecommitdiff
path: root/misc/rpm/patches/patch-ab
blob: b87bc8ca1adb03a1de6baee1bc21d5915ca04574 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- lib/Makefile.in.orig	Wed May 27 16:49:38 1998
+++ lib/Makefile.in	Wed Jul 29 12:46:56 1998
@@ -23,7 +23,7 @@
 
 # -----------------------------------------------------------------------
 
-include ../Makefile.inc
+.include "../Makefile.inc"
 
 TARGET=allprogs
 
@@ -41,7 +41,8 @@
 
 $(PROGS): $(LIBRPM)
 
-$(LIBRPM): $(LIBRPM)($(LIBOBJECTS) $(TAGTABLE))
+$(LIBRPM): $(LIBOBJECTS) $(TAGTABLE)
+	$(AR) r $@ $(LIBOBJECTS) $(TAGTABLE)
 	$(RANLIB) $@
 
 tagtable.c: rpmlib.h 
@@ -74,6 +75,6 @@
 	    $(CPP) $(CFLAGS) -MM $(SOURCES) | \
 		sed s+$$topdir_path+$(top_srcdir)+g > .depend
 
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
+.if exists(.depend)
+.include ".depend"
+.endif