summaryrefslogtreecommitdiff
path: root/package/editors/vim/vim.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/editors/vim/vim.mk')
-rw-r--r--package/editors/vim/vim.mk16
1 files changed, 5 insertions, 11 deletions
diff --git a/package/editors/vim/vim.mk b/package/editors/vim/vim.mk
index 5815b2b57..34d9a6814 100644
--- a/package/editors/vim/vim.mk
+++ b/package/editors/vim/vim.mk
@@ -5,30 +5,24 @@
#############################################################
VIM_VERSION:=7.1
VIM_SOURCE:=vim-$(VIM_VERSION).tar.bz2
-VIM_EXTRA:=vim-$(VIM_VERSION)-extra.tar.gz
-VIM_SITE:=ftp://ftp.vim.org/pub/vim
+VIM_SITE:=http://ftp.vim.org/pub/vim
VIM_SOURCE_SITE:=$(VIM_SITE)/unix
-VIM_EXTRA_SITE:=$(VIM_SITE)/extra
VIM_PATCH_SITE:=$(VIM_SITE)/patches/7.1
VIM_DIR:=$(BUILD_DIR)/vim71
-VIM_PATCHES:=$(shell cat package/editors/vim/patches | sed -s 's:\([0-9]\{3\}\):$(DL_DIR)/vim/$(VIM_VERSION).\1:')
+VIM_PATCHES:=$(shell cat package/editors/vim/patches | sed -s 's:\(.\+\):$(DL_DIR)/vim/$(VIM_VERSION).\1:')
VIM_CONFIG_H:=$(VIM_DIR)/src/auto/config.h
VIM_CONFIG_MK:=$(VIM_DIR)/src/auto/config.mk
$(DL_DIR)/$(VIM_SOURCE):
$(WGET) -P $(DL_DIR) $(VIM_SOURCE_SITE)/$(VIM_SOURCE)
-$(DL_DIR)/$(VIM_EXTRA):
- $(WGET) -P $(DL_DIR) $(VIM_EXTRA_SITE)/$(VIM_EXTRA)
-
$(DL_DIR)/vim/%:
$(WGET) -P $(DL_DIR)/vim/ $(VIM_PATCH_SITE)/$*
-vim-source: $(DL_DIR)/$(VIM_SOURCE) $(DL_DIR)/$(VIM_EXTRA) $(VIM_PATCHES)
+vim-source: $(DL_DIR)/$(VIM_SOURCE) $(VIM_PATCHES)
$(VIM_DIR)/.unpacked: $(DL_DIR)/$(VIM_SOURCE)
$(BZCAT) $(DL_DIR)/$(VIM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- $(ZCAT) $(DL_DIR)/$(VIM_EXTRA) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $@
$(VIM_DIR)/.patched: $(VIM_DIR)/.unpacked
@@ -36,7 +30,7 @@ $(VIM_DIR)/.patched: $(VIM_DIR)/.unpacked
echo "Patching with $$i"; \
cd $(VIM_DIR); \
patch -p0 < $$i) \
- done;
+ done
toolchain/patch-kernel.sh $(VIM_DIR) package/editors/vim/ \*.patch
touch $@
@@ -79,7 +73,7 @@ $(TARGET_DIR)/usr/bin/vim: $(VIM_DIR)/.build
make DESTDIR=$(TARGET_DIR) installvimbin; \
make DESTDIR=$(TARGET_DIR) installlinks; \
)
-ifeq ($(R2_PACKAGE_VIM_RUNTIME),y)
+ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y)
(cd $(VIM_DIR)/src; \
make DESTDIR=$(TARGET_DIR) installrtbase; \
make DESTDIR=$(TARGET_DIR) installmacros; \