Fix for parallel builds (make MAKE_JOBS=N)

This commit is contained in:
cheusov 2011-11-23 22:50:25 +00:00
parent dc3724a074
commit 3e840d4045
3 changed files with 48 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.2 2011/11/12 19:14:06 cheusov Exp $
$NetBSD: distinfo,v 1.3 2011/11/23 22:50:25 cheusov Exp $
SHA1 (heirloom-070715.tar.bz2) = cc1aa6977b445ba622159b443283ccb0571be9a5
RMD160 (heirloom-070715.tar.bz2) = 546b68b1e6c603301084d47973ca9ec47ae8ea8c
@ -14,3 +14,5 @@ SHA1 (patch-au) = 63da5409f7537e0fc3bc9d2473b87439ef38d328
SHA1 (patch-av) = 897e8a4a8115e5d556c4dc4892fc0b17f73cee6e
SHA1 (patch-aw) = 39e762f6c4b3def3e317217b6bae4d599b7173d8
SHA1 (patch-ax) = 74949080460cb2f7c16dd22f24fb650f0ad94817
SHA1 (patch-nawk_Makefile.mk) = e212f57f24de74e93a3e7def0d996db3277aac26
SHA1 (patch-oawk_Makefile.mk) = 97e2d121103c65c41dc8cee2d9c05bb412fd0af5

View file

@ -0,0 +1,14 @@
$NetBSD: patch-nawk_Makefile.mk,v 1.1 2011/11/23 22:50:25 cheusov Exp $
# Fix for make -jN
--- nawk/Makefile.mk.orig 2005-02-09 15:58:39.000000000 +0000
+++ nawk/Makefile.mk
@@ -11,7 +11,7 @@ awk_sus: awk.g.o $(OBJ) version_sus.o
awk_su3: awk.g.2001.o $(OBJ) version_su3.o
$(LD) $(LDFLAGS) awk.g.2001.o $(OBJ) version_su3.o $(LUXRE) -lm $(LCOMMON) $(LWCHAR) $(LIBS) -o awk_su3
-awk.g.c: awk.g.y
+y.tab.h awk.g.c: awk.g.y
$(YACC) -d awk.g.y
mv -f y.tab.c awk.g.c
(echo '1i'; echo '#include <inttypes.h>'; echo '.'; echo 'w';) | \

View file

@ -0,0 +1,31 @@
$NetBSD: patch-oawk_Makefile.mk,v 1.1 2011/11/23 22:50:25 cheusov Exp $
# Fix for make -jN
--- oawk/Makefile.mk.orig 2004-10-02 18:23:20.000000000 +0000
+++ oawk/Makefile.mk
@@ -75,14 +75,14 @@ install: all
$(STRIP) $(ROOT)$(DEFBIN)/oawk
$(MANINST) -c -m 644 oawk.1 $(ROOT)$(MANDIR)/man1/oawk.1
-awk.g.o: awk.def
-awk.g.o: awk.def
-awk.lx.o: awk.def
-b.o: awk.def
-lib.o: awk.def
-main.o: awk.def
-parse.o: awk.def
-proc.o: awk.def
-proctab.o: awk.def
-run.o: awk.def
-tran.o: awk.def
+awk.g.o: awk.def awk.h
+awk.g.o: awk.def awk.h
+awk.lx.o: awk.def awk.h
+b.o: awk.def awk.h
+lib.o: awk.def awk.h
+main.o: awk.def awk.h
+parse.o: awk.def awk.h
+proc.o: awk.def awk.h
+proctab.o: awk.def awk.h
+run.o: awk.def awk.h
+tran.o: awk.def awk.h