From db82735f6e8fef1b9b72cd6b754d738edaa74f58 Mon Sep 17 00:00:00 2001 From: hgy59 Date: Sat, 18 Jan 2025 00:10:05 +0100 Subject: [PATCH] use vim9 as alternate name - avoid hard coded specific version - use 9 instead of 91 as specific version --- cross/vim/Makefile | 2 +- spk/vim/Makefile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cross/vim/Makefile b/cross/vim/Makefile index 9c372a32b67..f97d258f5b2 100644 --- a/cross/vim/Makefile +++ b/cross/vim/Makefile @@ -4,7 +4,7 @@ PKG_EXT = tar.gz PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT) PKG_DIST_SITE = https://github.com/vim/vim/archive PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) -SPECIFIC_VERSION=91 +SPECIFIC_VERSION=$(firstword $(subst ., ,$(PKG_VERS))) PKG_DIR = $(PKG_NAME)-$(PKG_VERS) DEPENDS = cross/ncursesw diff --git a/spk/vim/Makefile b/spk/vim/Makefile index 53ace413805..067f51d4829 100644 --- a/spk/vim/Makefile +++ b/spk/vim/Makefile @@ -17,6 +17,7 @@ CHANGELOG = "1. Update vim to v9.1.
2. Finally remove python feature." HOMEPAGE = https://www.vim.org/ LICENSE = Charityware -SPK_COMMANDS = bin/vim bin/vim$(subst .,,$(SPK_VERS)) bin/view bin/vimdiff bin/rvim bin/rview bin/vimtutor +SPK_COMMANDS = bin/vim bin/vim$(firstword $(subst ., ,$(PKG_VERS))) +SPK_COMMANDS += bin/view bin/vimdiff bin/rvim bin/rview bin/vimtutor include ../../mk/spksrc.spk.mk