On Thu, 21 May 2026 18:47:22 +0200
Gareth de Vaux <[email protected]> wrote:

> On Sat 2026-05-16 (10:01), Tomoaki AOKI wrote:
> > > > rm -rf /usr/ports/*/*/work && rm -rf /usr/ports/*/*/work-*
> > > 
> > > Great thanks, that worked :) I'd done 'portsclean -C' but that evidently 
> > > doesn't
> > > clean everything.
> > 
> > Do you habitally run `portsdb -Uu`? (If you're always running
> > `make index` at /usr/ports after updating ports tree, it can be
> > `portsdb -u`.) portsclean requires up-to-date INDEX.db to work.
> 
> FTR 'portsdb -Uu' and 'portsclean -C' just removes /usr/ports/*/*/work
> and leaves these in my case:
> 
> /usr/ports/devel/glib20/work-bootstrap
> /usr/ports/devel/gobject-introspection/work-bootstrap
> 
> which still need manual removal.

It's how flavored ports create ${WRKDIR}, and why unmerged patch is
needed.

-- 
Tomoaki AOKI    <[email protected]>

Reply via email to