vim: fix build on non-linux systems after upgrade

The configure script calls uname directly and assumes that it returns
the system to build for.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2018-10-10 10:50:21 +02:00
parent 5a610ab565
commit f3b7a2dd2d
2 changed files with 7 additions and 2 deletions

View File

@ -116,8 +116,7 @@ CONFIGURE_ARGS += \
--disable-gpm \
--disable-acl \
--with-tlib=ncurses \
--with-compiledby="non-existent-hostname-compiled" \
--disable-darwin
--with-compiledby="non-existent-hostname-compiled"
CONFIGURE_VARS += \
vim_cv_getcwd_broken=no \
@ -129,6 +128,10 @@ CONFIGURE_VARS += \
vim_cv_tty_group=root \
vim_cv_tty_mode=0620
ifneq ($(HOST_OS),Linux)
TARGET_PATH_PKG:=$(CURDIR)/scripts:$(TARGET_PATH_PKG)
endif
define Build/Prepare
$(call Build/Prepare/Default)
$(MAKE) -C $(PKG_BUILD_DIR)/src autoconf

2
utils/vim/scripts/uname Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
echo "Linux"