diff options
Diffstat (limited to 'sysutils/heirloom/files/patch-nawk_Makefile.mk')
-rw-r--r-- | sysutils/heirloom/files/patch-nawk_Makefile.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sysutils/heirloom/files/patch-nawk_Makefile.mk b/sysutils/heirloom/files/patch-nawk_Makefile.mk new file mode 100644 index 000000000000..346825a5f766 --- /dev/null +++ b/sysutils/heirloom/files/patch-nawk_Makefile.mk @@ -0,0 +1,21 @@ +--- nawk/Makefile.mk.orig 2005-02-09 23:58:39.000000000 +0800 ++++ nawk/Makefile.mk 2013-07-26 18:01:39.000000000 +0800 +@@ -12,14 +12,14 @@ + $(LD) $(LDFLAGS) awk.g.2001.o $(OBJ) version_su3.o $(LUXRE) -lm $(LCOMMON) $(LWCHAR) $(LIBS) -o awk_su3 + + awk.g.c: awk.g.y +- $(YACC) -d awk.g.y +- mv -f y.tab.c awk.g.c ++ $(YACC) -d awk.g.y && mv -f y.tab.c awk.g.c ++ ++y.tab.h: awk.g.y | awk.g.c + (echo '1i'; echo '#include <inttypes.h>'; echo '.'; echo 'w';) | \ + ed -s y.tab.h + + awk.g.2001.c: awk.g.2001.y awk.g.c +- $(YACC) awk.g.2001.y +- mv -f y.tab.c awk.g.2001.c ++ $(YACC) awk.g.2001.y && mv -f y.tab.c awk.g.2001.c + + awk.g.2001.y: awk.g.y + sed -f rerule.sed <awk.g.y >awk.g.2001.y |