0001-no-versioned.patch 874 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. [Gustavo: update for 4.1.2]
  5. diff -Nura gawk-4.1.2.orig/Makefile.in gawk-4.1.2/Makefile.in
  6. --- gawk-4.1.2.orig/Makefile.in 2015-04-29 16:11:09.367925925 -0300
  7. +++ gawk-4.1.2/Makefile.in 2015-04-29 16:11:25.308466495 -0300
  8. @@ -554,7 +554,7 @@
  9. CLEANFILES = core core.*
  10. # We want hard links for install-exec-hook, below
  11. -LN = ln
  12. +LN = $(LN_S)
  13. # For some make's, e.g. OpenBSD, that don't define this
  14. RM = rm -f
  15. @@ -1173,6 +1173,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. if [ ! -f awk$(EXEEXT) ]; \