diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-01-29 12:32:47 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-01-29 12:32:47 +0000 |
commit | 5afc59da84f6e585fbde17a8630012c18c307506 (patch) | |
tree | 52ad11184a83763f6f31872de639c957f17522a8 | |
parent | ba5931aae3f530cfa5146294ec27b31bbfabcd96 (diff) | |
download | pkgsrc-5afc59da84f6e585fbde17a8630012c18c307506.tar.gz |
nawk: Use awk(1) instead of ed(1)
-rw-r--r-- | sysutils/heirloom-doc/distinfo | 4 | ||||
-rw-r--r-- | sysutils/heirloom-doc/patches/patch-nawk_Makefile.mk | 12 |
2 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/heirloom-doc/distinfo b/sysutils/heirloom-doc/distinfo index 45b7accd0a5..c1262467863 100644 --- a/sysutils/heirloom-doc/distinfo +++ b/sysutils/heirloom-doc/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2011/11/26 16:29:38 cheusov Exp $ +$NetBSD: distinfo,v 1.6 2012/01/29 12:32:47 cheusov Exp $ SHA1 (heirloom-070715.tar.bz2) = cc1aa6977b445ba622159b443283ccb0571be9a5 RMD160 (heirloom-070715.tar.bz2) = 546b68b1e6c603301084d47973ca9ec47ae8ea8c @@ -15,5 +15,5 @@ SHA1 (patch-av) = 897e8a4a8115e5d556c4dc4892fc0b17f73cee6e SHA1 (patch-aw) = 39e762f6c4b3def3e317217b6bae4d599b7173d8 SHA1 (patch-ax) = 74949080460cb2f7c16dd22f24fb650f0ad94817 SHA1 (patch-libcommon_Makefile.mk) = a78061c36c4351a0059a37eb4e62976cbf2df763 -SHA1 (patch-nawk_Makefile.mk) = e212f57f24de74e93a3e7def0d996db3277aac26 +SHA1 (patch-nawk_Makefile.mk) = a09833bec6a235f68888f73907dcda829cf4beb9 SHA1 (patch-oawk_Makefile.mk) = 97e2d121103c65c41dc8cee2d9c05bb412fd0af5 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 |