components/ncurses/Makefile
changeset 1575 4e52e4728eda
parent 1223 28d011526d15
child 1948 2d1537e7942d
equal deleted inserted replaced
1574:d941894ffed8 1575:4e52e4728eda
    51 CONFIGURE_OPTIONS +=	--with-shared
    51 CONFIGURE_OPTIONS +=	--with-shared
    52 CONFIGURE_OPTIONS +=	--with-normal
    52 CONFIGURE_OPTIONS +=	--with-normal
    53 CONFIGURE_OPTIONS +=	--enable-rpath
    53 CONFIGURE_OPTIONS +=	--enable-rpath
    54 CONFIGURE_OPTIONS +=	--enable-widec
    54 CONFIGURE_OPTIONS +=	--enable-widec
    55 CONFIGURE_OPTIONS +=	--includedir=$(USRINCDIR)/ncurses
    55 CONFIGURE_OPTIONS +=	--includedir=$(USRINCDIR)/ncurses
       
    56 CONFIGURE_OPTIONS +=	--with-default-terminfo-dir=$(GNUSHARE)/terminfo
    56 
    57 
    57 # Needed to pass -m32 or -m64 to the C/C++ compiler and linker.
    58 # Needed to pass -m32 or -m64 to the C/C++ compiler and linker.
    58 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    59 CONFIGURE_OPTIONS +=	CFLAGS="$(CFLAGS)"
    59 CONFIGURE_OPTIONS +=	CXXFLAGS="$(CXXFLAGS)"
    60 CONFIGURE_OPTIONS +=	CXXFLAGS="$(CXXFLAGS)"
    60 CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS)"
    61 CONFIGURE_OPTIONS +=	LDFLAGS="$(LDFLAGS)"
    62 # XXX: Ugly hack copied directly from the desktop SUNWncurses.spec file:
    63 # XXX: Ugly hack copied directly from the desktop SUNWncurses.spec file:
    63 # The sun-color terminfo included in ncurses does not work;
    64 # The sun-color terminfo included in ncurses does not work;
    64 # copying the one shipped with Sun's curses fixes it:
    65 # copying the one shipped with Sun's curses fixes it:
    65 COMPONENT_POST_INSTALL_ACTION += \
    66 COMPONENT_POST_INSTALL_ACTION += \
    66 	$(CP) /usr/share/lib/terminfo/s/sun-color \
    67 	$(CP) /usr/share/lib/terminfo/s/sun-color \
    67 	$(PROTO_DIR)$(GNULIB)/terminfo/s/
    68 	$(PROTO_DIR)$(GNUSHARE)/terminfo/s/
    68 
    69 
    69 ASLR_MODE = $(ASLR_ENABLE)
    70 ASLR_MODE = $(ASLR_ENABLE)
    70 
    71 
    71 # common targets
    72 # common targets
    72 build:          $(BUILD_32_and_64)
    73 build:          $(BUILD_32_and_64)