0001-fix-incorrect-makefile-am.patch 1.0 KB

12345678910111213141516171819202122232425262728
  1. Aumix's src/Makefile.am incorrect adds @includedir@ to the list of
  2. include paths and @libdir@ to the list of libraries paths. This is
  3. incorrect, as @includedir@ and @libdir@ are respectively /usr/include
  4. and /usr/lib, even in cross-compilation mode.
  5. At the same time, use AM_CFLAGS instead of CFLAGS, as is done on the
  6. similar patch found in OpenEmbedded.
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8. ---
  9. src/Makefile.am | 5 ++---
  10. 1 file changed, 2 insertions(+), 3 deletions(-)
  11. Index: aumix-2.8/src/Makefile.am
  12. ===================================================================
  13. --- aumix-2.8.orig/src/Makefile.am
  14. +++ aumix-2.8/src/Makefile.am
  15. @@ -9,9 +9,8 @@
  16. mouse.c common.h curses.h gpm-xterm.h gtk.h interactive.h \
  17. mouse.h play.xpm record.xpm
  18. localedir = $(datadir)/locale
  19. -INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
  20. +INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
  21. AM_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@
  22. -LDADD = -L@libdir@
  23. LIBS = @LIBS@ @GTK_LIBS@ @LIBINTL@
  24. DEFS = @DEFS@