xref: /OK3568_Linux_fs/buildroot/package/gawk/0001-no-versioned.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Disabled versioned installation of binaries to save space.
2
3Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4[Gustavo: update for 4.1.2]
5
6diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
7--- gawk-4.1.2.orig/Makefile.in	2015-04-29 16:11:09.367925925 -0300
8+++ gawk-4.1.2/Makefile.in	2015-04-29 16:11:25.308466495 -0300
9@@ -1173,6 +1173,7 @@
10 # (This is done universally, which may not always be right, but
11 # there's no easy way to distinguish GNU from non-GNU systems.)
12 install-exec-hook:
13+foo:
14 	(cd $(DESTDIR)$(bindir); \
15 	$(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
16 	if [ ! -f awk$(EXEEXT) ]; \
17