Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2021 17:46:35 +0200
From:      Michael Gmelin <grembo@freebsd.org>
To:        Colin Percival <cperciva@tarsnap.com>
Cc:        Adam Weinberger <adamw@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 620f205539a4 - main - editors/vim: Flavorize and update to 8.2.3394
Message-ID:  <20210902174635.4cdefe7e.grembo@freebsd.org>
In-Reply-To: <0100017ba71b0d67-df6dd8e4-6f71-4cac-8764-6c750f60d1f1-000000@email.amazonses.com>
References:  <202109020646.1826kZbY033118@gitrepo.freebsd.org> <0100017ba71b0d67-df6dd8e4-6f71-4cac-8764-6c750f60d1f1-000000@email.amazonses.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 2 Sep 2021 15:22:53 +0000
Colin Percival <cperciva@tarsnap.com> wrote:

> On 9/1/21 11:46 PM, Adam Weinberger wrote:
> > URL:
> > https://cgit.FreeBSD.org/ports/commit/?id=620f205539a43fd8da97750d33eebdfc1e133330
> > 
> > commit 620f205539a43fd8da97750d33eebdfc1e133330
> > Author:     Adam Weinberger <adamw@FreeBSD.org>
> > AuthorDate: 2021-09-02 06:36:47 +0000
> > Commit:     Adam Weinberger <adamw@FreeBSD.org>
> > CommitDate: 2021-09-02 06:36:47 +0000
> > 
> >     editors/vim: Flavorize and update to 8.2.3394
> >     
> >     This commit completely rewires the vim ports. It includes the
> > following:  
> 
> `make index` is now failing with
> /usr/ports/audio/fluida-lv2: no entry for
> /usr/ports/editors/vim-console
> 
> I'm not sure if this is because INDEX doesn't understand flavours or
> if you need to adjust port(s) which depend on vim-console.
> 

The problem with using flavors like this is that it basically turns
those ports into leaf ports (as you, e.g., can't install a port that
relies on vim-tiny and install vim-gtk3 at the same time).

We have the same situation with git-lite, git, git-svn, git-cvs...
That's why, e.g., iocage depends on git and not on git-lite (which
would be sufficient), as every time you install normal git, iocage would
get removed from the system.

Subpackages would solve this (but they're not here yet).

One can emulate subpackages by creating subports using MASTERDIR. I did
this for git a while ago (review pending due to lack of resources):

https://reviews.freebsd.org/D30238

Best
Michael

-- 
Michael Gmelin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210902174635.4cdefe7e.grembo>