# HG changeset patch # User Vladimir Marek # Date 1385378333 -3600 # Node ID 4e52e4728edae6f5a8dc29968749813a038d38f2 # Parent d941894ffed855a4adfefb97505bf2a6333e06d5 17849875 Compilation fails when user has TERMINFO environment variable set diff -r d941894ffed8 -r 4e52e4728eda components/ncurses/Makefile --- a/components/ncurses/Makefile Mon Nov 25 23:00:24 2013 -0800 +++ b/components/ncurses/Makefile Mon Nov 25 12:18:53 2013 +0100 @@ -53,6 +53,7 @@ CONFIGURE_OPTIONS += --enable-rpath CONFIGURE_OPTIONS += --enable-widec CONFIGURE_OPTIONS += --includedir=$(USRINCDIR)/ncurses +CONFIGURE_OPTIONS += --with-default-terminfo-dir=$(GNUSHARE)/terminfo # Needed to pass -m32 or -m64 to the C/C++ compiler and linker. CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" @@ -64,7 +65,7 @@ # copying the one shipped with Sun's curses fixes it: COMPONENT_POST_INSTALL_ACTION += \ $(CP) /usr/share/lib/terminfo/s/sun-color \ - $(PROTO_DIR)$(GNULIB)/terminfo/s/ + $(PROTO_DIR)$(GNUSHARE)/terminfo/s/ ASLR_MODE = $(ASLR_ENABLE)