diff options
| author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-17 07:27:01 +0100 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-17 07:27:01 +0100 |
| commit | a07e197d7552bed16d7c9bf428d4a43a3f458a23 (patch) | |
| tree | da39ede4c33e62e1124ffd15d27c41cbe1c1f64c /adk | |
| parent | 753383bdf29033a1c7244e31c42c2f5d9906010f (diff) | |
| parent | f91c0a6d288596bf002df4f750ab77e0c241e924 (diff) | |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'adk')
| -rw-r--r-- | adk/config/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/adk/config/Makefile b/adk/config/Makefile index 8eb45f5c0..7e91da1bf 100644 --- a/adk/config/Makefile +++ b/adk/config/Makefile @@ -27,6 +27,10 @@ else ifeq (/usr/local/include/ncurses/curses.h, $(wildcard /usr/local/include/ncurses/curses.h)) HOST_CFLAGS+= -I/usr/local/include/ncurses -DCURSES_LOC="<ncurses/curses.h>" else +ifeq (/usr/local/opt/ncurses/include/ncursesw/ncurses.h, $(wildcard /usr/local/opt/ncurses/include/ncursesw/ncurses.h)) +HOST_CFLAGS+= -I/usr/local/opt/ncurses/include -DCURSES_LOC="<ncursesw/ncurses.h>" +LIBS+= -L/usr/local/opt/ncurses/lib -Wl,-rpath -Wl,/usr/local/opt/ncurses/lib +else ifeq (/usr/pkg/include/ncurses.h, $(wildcard /usr/pkg/include/ncurses.h)) HOST_CFLAGS+= -I/usr/pkg/include -DCURSES_LOC="<ncurses.h>" LIBS+= -L/usr/pkg/lib -Wl,-rpath -Wl,/usr/pkg/lib @@ -42,6 +46,7 @@ endif endif endif endif +endif CONF_SRC =conf.c MCONF_SRC =mconf.c $(wildcard lxdialog/*.c) |
