edid-decode: new package
[buildroot-gz.git] / package / aumix / 0001-fix-incorrect-makefile-am.patch
blob8d55218bbbf4eceda544069cdd6dad79072759b6
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.
6 At the same time, use AM_CFLAGS instead of CFLAGS, as is done on the
7 similar patch found in OpenEmbedded.
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(-)
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 @@ -7,9 +7,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 -CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@
24 -LDADD = -L@libdir@
25 +INCLUDES = -I../intl -DLOCALEDIR=\"$(localedir)\"
26 +AM_CFLAGS = @CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@
27 LIBS = @LIBS@ @GTK_LIBS@ @INTLLIBS@
28 DEFS = @DEFS@