mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-17 16:54:43 +02:00
package/ncurses: fix freebsd install issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24149 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
552f190346
commit
954abaf57f
@ -51,11 +51,18 @@ CONFIGURE_ARGS += \
|
|||||||
--without-debug \
|
--without-debug \
|
||||||
--without-profile \
|
--without-profile \
|
||||||
--without-progs \
|
--without-progs \
|
||||||
|
--disable-big-core \
|
||||||
|
--disable-home-terminfo \
|
||||||
--with-normal \
|
--with-normal \
|
||||||
--with-shared \
|
--with-shared \
|
||||||
--with-terminfo-dirs=/usr/share/terminfo \
|
--with-terminfo-dirs=/usr/share/terminfo \
|
||||||
--with-default-terminfo-dir=/usr/share/terminfo
|
--with-default-terminfo-dir=/usr/share/terminfo
|
||||||
|
|
||||||
|
ifeq ($(HOST_OS),FreeBSD)
|
||||||
|
CONFIGURE_ARGS +=
|
||||||
|
--with-terminfo=/usr/share/terminfo.db
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),libncursesw)
|
ifeq ($(BUILD_VARIANT),libncursesw)
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--enable-widec \
|
--enable-widec \
|
||||||
@ -78,6 +85,7 @@ endef
|
|||||||
define Package/libncurses/install
|
define Package/libncurses/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{curses,ncurses,panel,menu,form}.so* $(1)/usr/lib/
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{curses,ncurses,panel,menu,form}.so* $(1)/usr/lib/
|
||||||
|
ifneq ($(HOST_OS),FreeBSD)
|
||||||
$(INSTALL_DIR) $(1)/usr/share/terminfo
|
$(INSTALL_DIR) $(1)/usr/share/terminfo
|
||||||
(cd $(PKG_INSTALL_DIR)/usr/share/terminfo; \
|
(cd $(PKG_INSTALL_DIR)/usr/share/terminfo; \
|
||||||
for dir in ??; do \
|
for dir in ??; do \
|
||||||
@ -90,6 +98,7 @@ define Package/libncurses/install
|
|||||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/$$$$file \
|
$(CP) $(PKG_INSTALL_DIR)/usr/share/terminfo/$$$$file \
|
||||||
$(1)/usr/share/terminfo/$$$$file; \
|
$(1)/usr/share/terminfo/$$$$file; \
|
||||||
done
|
done
|
||||||
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libncursesw/install
|
define Package/libncursesw/install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user