diff options
author | dholland <dholland> | 2008-07-21 04:50:40 +0000 |
---|---|---|
committer | dholland <dholland> | 2008-07-21 04:50:40 +0000 |
commit | 305d6863181c3b994a4c5af11347cb0a4fc92f2f (patch) | |
tree | 4d2b2e50fd431650e25e559584d26bf79d2ea8a0 /graphics/gliv/patches | |
parent | 9f2a288b0b1cbb60b14ffeed0d16506e9e9df228 (diff) | |
download | pkgsrc-305d6863181c3b994a4c5af11347cb0a4fc92f2f.tar.gz |
Add USE_TOOLS+=gawk and patch accordingly due to heavily nonportable
awk scripts. Fixes PR 33851.
Bump version; the broken scripts were messing up the build without
causing it to overtly fail.
Diffstat (limited to 'graphics/gliv/patches')
-rw-r--r-- | graphics/gliv/patches/patch-aa | 13 | ||||
-rw-r--r-- | graphics/gliv/patches/patch-ab | 17 |
2 files changed, 30 insertions, 0 deletions
diff --git a/graphics/gliv/patches/patch-aa b/graphics/gliv/patches/patch-aa new file mode 100644 index 00000000000..01ea36cf9a0 --- /dev/null +++ b/graphics/gliv/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.5 2008/07/21 04:50:40 dholland Exp $ + +--- src/Makefile.in~ 2006-11-18 09:21:13.000000000 -0500 ++++ src/Makefile.in 2008-07-21 00:40:37.000000000 -0400 +@@ -574,7 +574,7 @@ + gperf -n --multiple-iterations 64 --output $@ $< + + help_text.c: $(top_srcdir)/README $(top_srcdir)/tools/help2c.awk +- awk -f $(top_srcdir)/tools/help2c.awk < $(top_srcdir)/README > $@ ++ gawk -f $(top_srcdir)/tools/help2c.awk < $(top_srcdir)/README > $@ + + glade_actions.c include/glade_actions.h: $(top_srcdir)/tools/glade/actions/gliv-actions.glade + cd $(top_srcdir)/tools/glade/actions && ./make_glade_actions.sh diff --git a/graphics/gliv/patches/patch-ab b/graphics/gliv/patches/patch-ab new file mode 100644 index 00000000000..cd3804292d3 --- /dev/null +++ b/graphics/gliv/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.3 2008/07/21 04:50:40 dholland Exp $ + +--- tools/Makefile.in~ 2006-11-18 09:21:13.000000000 -0500 ++++ tools/Makefile.in 2008-07-21 00:41:38.000000000 -0400 +@@ -491,10 +491,10 @@ + all-local: _gliv gliv.ggo + + gliv.ggo: gengetopt.awk gliv.options +- awk -f gengetopt.awk < gliv.options > $@ ++ gawk -f gengetopt.awk < gliv.options > $@ + + _gliv: zsh.awk gliv.options gperf2zsh.sh formats.gperf +- (awk -f zsh.awk < gliv.options; ./gperf2zsh.sh formats.gperf) > $@ ++ (gawk -f zsh.awk < gliv.options; ./gperf2zsh.sh formats.gperf) > $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: |