diff --git a/utils/vim/Makefile b/utils/vim/Makefile index 49d8351720..8e9e3f3f09 100644 --- a/utils/vim/Makefile +++ b/utils/vim/Makefile @@ -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 diff --git a/utils/vim/scripts/uname b/utils/vim/scripts/uname new file mode 100755 index 0000000000..d2cd568641 --- /dev/null +++ b/utils/vim/scripts/uname @@ -0,0 +1,2 @@ +#!/bin/sh +echo "Linux"