diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-21 21:52:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-10-21 21:52:07 +0200 |
commit | 8da9efaa2894d02a7ff9b5d9707c711d909e904d (patch) | |
tree | 19cfb0ee5aee517887d07ecf3a76670e242813b6 /adk | |
parent | 4404645c4b980a135411b7e4b13546b15a48d49e (diff) |
allow to build with MacOS X Yosemite and Homebrew.
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) |