logrotate: enable selinux support
[buildroot-gz.git] / package / gawk / 0001-no-versioned.patch
blob0c35088e8656882b40c8a90d7f6ab9f5391f7924
1 Disabled versioned installation of binaries to save space.
2 Also use symlinks where it's appropiate.
4 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
5 [Gustavo: update for 4.1.2]
7 diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
8 --- gawk-4.1.2.orig/Makefile.in 2015-04-29 16:11:09.367925925 -0300
9 +++ gawk-4.1.2/Makefile.in 2015-04-29 16:11:25.308466495 -0300
10 @@ -554,7 +554,7 @@
11 CLEANFILES = core core.*
13 # We want hard links for install-exec-hook, below
14 -LN = ln
15 +LN = $(LN_S)
17 # For some make's, e.g. OpenBSD, that don't define this
18 RM = rm -f
19 @@ -1173,6 +1173,7 @@
20 # (This is done universally, which may not always be right, but
21 # there's no easy way to distinguish GNU from non-GNU systems.)
22 install-exec-hook:
23 +foo:
24 (cd $(DESTDIR)$(bindir); \
25 $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
26 if [ ! -f awk$(EXEEXT) ]; \