diff options
Diffstat (limited to 'sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk')
-rw-r--r-- | sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk b/sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk index d72466c5acf..5683b9128cd 100644 --- a/sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk +++ b/sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk @@ -1,9 +1,9 @@ -$NetBSD: patch-nawk_Makefile.mk,v 1.1 2011/11/23 22:50:25 cheusov Exp $ +$NetBSD: patch-nawk_Makefile.mk,v 1.2 2012/01/29 12:32:48 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 +@@ -11,11 +11,11 @@ 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 @@ -11,4 +11,10 @@ $NetBSD: patch-nawk_Makefile.mk,v 1.1 2011/11/23 22:50:25 cheusov Exp $ +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';) | \ +- (echo '1i'; echo '#include <inttypes.h>'; echo '.'; echo 'w';) | \ +- ed -s y.tab.h ++ awk 'NR==1 {print "#include <inttypes.h>"} {print}' y.tab.h > y.tab.h_ ++ mv y.tab.h_ y.tab.h + + awk.g.2001.c: awk.g.2001.y awk.g.c + $(YACC) awk.g.2001.y |