vim: fix depends configuration
authorTeleostNaCl Dai <teleostnacl@gmail.com>
Wed, 24 Dec 2025 14:59:36 +0000 (22:59 +0800)
committerGeorge Sapkin <george@sapk.in>
Thu, 25 Dec 2025 10:52:56 +0000 (12:52 +0200)
Due to the incorrect DEPENDS configuration, the vim-full and vim-fuller
packages won't show up in menuconfig if the vim-runtime package is not
selected. This happens because these packages depend on vim-runtime.

To fix this, add the '+' symbol to the DEPENDS line. This ensures that
when either vim-full or vim-fuller is selected, the vim-runtime package
(which is a dependency) will also be selected automatically.

Fixes: d1351b3 ("vim: fix config and runtime")
Signed-off-by: TeleostNaCl Dai <teleostnacl@gmail.com>
utils/vim/Makefile

index 8d7021f0c93dfffce8aceaecac134a9b7f7f3b24..cc1afd4c3c702c202ae1825c3ac8cbbd661093cd 100644 (file)
@@ -45,7 +45,7 @@ define Package/vim-full
   TITLE+= (Normal)
   PROVIDES:=vim
   CONFLICTS:=vim
-  DEPENDS:=vim-runtime
+  DEPENDS:=+vim-runtime
   EXTRA_DEPENDS:=vim-runtime (=$(PKG_VERSION)-r$(PKG_RELEASE))
 endef
 
@@ -54,7 +54,7 @@ define Package/vim-fuller
   TITLE+= (Huge)
   PROVIDES:=vim vim-full
   CONFLICTS:=vim vim-full
-  DEPENDS:=vim-runtime
+  DEPENDS:=+vim-runtime
   EXTRA_DEPENDS:=vim-runtime (=$(PKG_VERSION)-r$(PKG_RELEASE))
 endef