From: Karel Kočí Date: Mon, 22 Aug 2022 12:31:21 +0000 (+0200) Subject: vim: variants conflict with each other X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e2885b9ddd09879b439c0af5c9716e371d5ae8a3;p=feed%2Fpackages.git vim: variants conflict with each other This adds conflicts between the variants, because they provide the same files, and it should not be possible to install them side by side. Otherwise, it might happen that half files would be from one variant and the other half from the other. Also, adds provides as if you request to install ``vim`` and ``vim-full``, then the request could be satisfied even they collide, because ``vim-full`` provides ``vim`` package. Signed-off-by: Karel Kočí Signed-off-by: Josef Schlehofer [add commit message] (cherry picked from commit 46c058468aeaf7747c2e94e579020aa7f595c649) --- diff --git a/utils/vim/Makefile b/utils/vim/Makefile index 5d9b21c73c..9789e833a5 100644 --- a/utils/vim/Makefile +++ b/utils/vim/Makefile @@ -46,12 +46,16 @@ endef define Package/vim-full $(call Package/vim/Default) TITLE+= (Normal) + PROVIDES:=vim + CONFLICTS:=vim endef define Package/vim-fuller $(call Package/vim/Default) TITLE+= (Big) + PROVIDES:=vim vim-full + CONFLICTS:=vim vim-full endef define Package/vim-runtime