[Bug 283220] sysutils/vimpager: Is it possible to add flavors?

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Dec 2024 11:55:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283220

--- Comment #1 from Yusuf Yaman <nxjoseph@protonmail.com> ---
Hi. I wanted to enable clipboard support for vim by installing x11 flavor of
vim which is a build of vim with clipboard support and then you need to add a
line to .vimrc and it's OK now.

But, I use vimpager instead of less on my system and vimpager depends of
console (default flavor of vim) flavor so I had to edit vimpager port's
Makefile to change VIM_RUN_DEPENDS to vim:editors/vim-x11 and it said vim-x11
couldn't be found but it still kept on my system (vimpager didn't delete itself
while vim-console is not installed), not a good way of doing it but it worked
temporarily for me.

I wanted to add flavors to vimpager like vim port has but I can't make it work
properly, I mean, when i install one flavor  of vimpager, it doesn't directly
install that equal vim flavor. for example, i install vimpager-x11 but it still
installs vim-console. They  don't match each other.

I will attach my work in progress patch here.

Thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.