kbd-link-against-libintl.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. Make sure we link against libintl if needed
  2. We modify directly the Makefile.in so that we don't have to
  3. autoreconfigure the package, which doesn't work because packages using
  4. gettext need the autopoint tool for their autoregeneration step and
  5. this thing doesn't work (yet) in Buildroot.
  6. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. Index: kbd-1.15.2/src/Makefile.am
  8. ===================================================================
  9. --- kbd-1.15.2.orig/src/Makefile.am 2011-05-22 16:08:51.144530776 +0200
  10. +++ kbd-1.15.2/src/Makefile.am 2011-05-22 16:09:09.892530778 +0200
  11. @@ -5,6 +5,8 @@
  12. AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" -DLOCALEDIR=\"$(localedir)\" $(WARNINGS) \
  13. -funit-at-a-time
  14. +LDADD = @INTLLIBS@
  15. +
  16. OLDPROGS = mapscrn loadunimap
  17. PROGS = \
  18. dumpkeys loadkeys showkey setfont showconsolefont \
  19. Index: kbd-1.15.2/src/Makefile.in
  20. ===================================================================
  21. --- kbd-1.15.2.orig/src/Makefile.in 2011-05-22 16:10:27.540530777 +0200
  22. +++ kbd-1.15.2/src/Makefile.in 2011-05-22 16:10:51.172530778 +0200
  23. @@ -26,6 +26,7 @@
  24. install_sh_PROGRAM = $(install_sh) -c
  25. install_sh_SCRIPT = $(install_sh) -c
  26. INSTALL_HEADER = $(INSTALL_DATA)
  27. +LDADD = @INTLLIBS@
  28. transform = $(program_transform_name)
  29. NORMAL_INSTALL = :
  30. PRE_INSTALL = :