summaryrefslogtreecommitdiff
path: root/games/sarien/patches/patch-Rules_in
diff options
context:
space:
mode:
Diffstat (limited to 'games/sarien/patches/patch-Rules_in')
-rw-r--r--games/sarien/patches/patch-Rules_in20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/sarien/patches/patch-Rules_in b/games/sarien/patches/patch-Rules_in
new file mode 100644
index 00000000000..c581afda7c5
--- /dev/null
+++ b/games/sarien/patches/patch-Rules_in
@@ -0,0 +1,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: