kconfig: fix ncurses headers location
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 23:04:49 2012 +0200 (2012-07-31)
changeset 30196f23aba03281
parent 3018 7776e8369284
child 3020 c5e9702016d8
kconfig: fix ncurses headers location

On some distors (eg. latesst openSuSE), the ncurses headers are not
located in the usual location.

Hard-code this location in the kconfig Makefile, as a (temporary?)
workaround.

Reported-by: Simon Gornall <sgornall@apple.com>
[Fix suggested by Simon]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
kconfig/Makefile
     1.1 --- a/kconfig/Makefile	Tue Jul 31 22:27:29 2012 +0200
     1.2 +++ b/kconfig/Makefile	Tue Jul 31 23:04:49 2012 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  nconf_SRC = nconf.c nconf.gui.c
     1.5  nconf_OBJ = $(patsubst %.c,%.o,$(nconf_SRC))
     1.6  nconf_DEP = $(patsubst %.c,%.dep,$(nconf_SRC))
     1.7 -$(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS)
     1.8 +$(nconf_OBJ) $(nconf_DEP): CFLAGS += $(INTL_CFLAGS) -I/usr/include/ncurses
     1.9  nconf: LDFLAGS += -lmenu -lpanel -lncurses
    1.10  
    1.11  # Under Cygwin, we need to auto-import some libs (which ones, exactly?)