summaryrefslogtreecommitdiff
path: root/games/sarien/patches/patch-Rules_in
blob: c581afda7c559f20cec2a7cd44fb7d4d8dfe36ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-Rules_in,v 1.1 2011/11/14 02:13:50 dholland Exp $

- fix lib creation rule (apparently does not work with some gmake
versions as it has been failing in Linux bulk builds)

--- Rules.in~	2001-09-06 12:41:36.000000000 +0000
+++ Rules.in
@@ -52,7 +52,10 @@ depend:       
 	@$(CC) $(CFLAGS) $(XCFLAGS) -M $(OBJS:.o=.c) $(XDEPS:.o=.c) >$@
 
 $(OBJS): $(MAKEFILE)
+
+ALWAYS: ;
 
-$(LIB): $(LIB)($(OBJS) $(XOBJS))
+$(LIB): $(OBJS) $(XOBJS) ALWAYS
+	$(AR) -cruv $(LIB) $(OBJS) $(XOBJS)
 	$(RANLIB) $(LIB)
 
 subdist: