Skip to content

Commit 4e811a2

Browse files
committed
build(build-hnp/vim): Bump to vim 9.2.0015
- Parameterized version variable in Vim Makefile to simplify future updates.
1 parent 2ab89a4 commit 4e811a2

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

build-hnp/vim/Makefile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
include ../utils/Makefrag
22

3-
all: download/v9.1.1436.tar.gz
3+
VERSION=9.2.0015
4+
5+
all: download/v$(VERSION).tar.gz
46
rm -rf temp build
57
mkdir -p temp build
6-
cd temp && tar xvf ../download/v9.1.1436.tar.gz
7-
cd temp/vim-9.1.1436 && cat ../../0001-fix-tcsetattr.diff | patch -Np1
8-
cd temp/vim-9.1.1436 && cat ../../0002-fix-viminfo-gid-check.diff | patch -Np1
9-
cd temp/vim-9.1.1436 && ./configure --prefix=$(PREFIX) vim_cv_uname_output=Linux --host $(OHOS_ARCH)-unknown-linux-musl --with-tlib=tinfow
10-
cd temp/vim-9.1.1436 && make -j $(shell nproc) && make install -j $(shell nproc) STRIP=$(OHOS_SDK_HOME)/native/llvm/bin/llvm-strip DESTDIR=$(shell pwd)/build
8+
cd temp && tar xvf ../download/v$(VERSION).tar.gz
9+
cd temp/vim-$(VERSION) && cat ../../0001-fix-tcsetattr.diff | patch -Np1
10+
cd temp/vim-$(VERSION) && cat ../../0002-fix-viminfo-gid-check.diff | patch -Np1
11+
cd temp/vim-$(VERSION) && ./configure --prefix=$(PREFIX) vim_cv_uname_output=Linux --host $(OHOS_ARCH)-unknown-linux-musl --with-tlib=tinfow
12+
cd temp/vim-$(VERSION) && make -j $(shell nproc) && make install -j $(shell nproc) STRIP=$(OHOS_SDK_HOME)/native/llvm/bin/llvm-strip DESTDIR=$(shell pwd)/build
1113
mkdir -p ../sysroot
1214
cp -rfv build/data/app/base.org/base_1.0/. ../sysroot | tee file.lst
1315

14-
download/v9.1.1436.tar.gz:
16+
download/v$(VERSION).tar.gz:
1517
mkdir -p download
16-
cd download && $(WGET) https://github.com/vim/vim/archive/refs/tags/v9.1.1436.tar.gz
18+
cd download && $(WGET) https://github.com/vim/vim/archive/refs/tags/v$(VERSION).tar.gz

0 commit comments

Comments
 (0)