]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/aumix/0001-fix-incorrect-makefile-am.patch
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / aumix / 0001-fix-incorrect-makefile-am.patch
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
6 At the same time, use AM_CFLAGS instead of CFLAGS, as is done on the
7 similar patch found in OpenEmbedded.
8
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 ---
11  src/Makefile.am |    5 ++---
12  1 file changed, 2 insertions(+), 3 deletions(-)
13
14 Index: aumix-2.8/src/Makefile.am
15 ===================================================================
16 --- aumix-2.8.orig/src/Makefile.am
17 +++ aumix-2.8/src/Makefile.am
18 @@ -9,9 +9,8 @@
19                 mouse.c common.h curses.h gpm-xterm.h gtk.h interactive.h  \
20                 mouse.h play.xpm record.xpm
21  localedir      = $(datadir)/locale
22 -INCLUDES       = -I../intl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
23 +INCLUDES       = -I../intl -DLOCALEDIR=\"$(localedir)\"
24  AM_CFLAGS      = @CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@
25 -LDADD          = -L@libdir@
26  LIBS           = @LIBS@ @GTK_LIBS@ @LIBINTL@
27  DEFS           = @DEFS@
28