gawk-no-versioned.patch 879 B

1234567891011121314151617181920212223242526
  1. Disabled versioned installation of binaries to save space.
  2. Also use symlinks where it's appropiate.
  3. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
  4. ---
  5. diff -Nura gawk-4.0.0.orig/Makefile.in gawk-4.0.0/Makefile.in
  6. --- gawk-4.0.0.orig/Makefile.in 2011-06-24 05:16:13.000000000 -0300
  7. +++ gawk-4.0.0/Makefile.in 2011-11-11 15:31:16.429577288 -0300
  8. @@ -403,7 +403,7 @@
  9. MAINTAINERCLEANFILES = version.c
  10. # We want hard links for install-exec-hook, below
  11. -LN = ln
  12. +LN = $(LN_S)
  13. all: config.h
  14. $(MAKE) $(AM_MAKEFLAGS) all-recursive
  15. @@ -1011,6 +1011,7 @@
  16. # (This is done universally, which may not always be right, but
  17. # there's no easy way to distinguish GNU from non-GNU systems.)
  18. install-exec-hook:
  19. +foo:
  20. (cd $(DESTDIR)$(bindir); \
  21. $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
  22. $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \