[Bug 290829] ports-mgmt/portmaster: removes directories preventing pkg 2.4 fails to create its own package

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 27 Feb 2026 10:36:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290829

--- Comment #6 from Herbert J. Skuhra <herbert@gojira.at> ---
Created attachment 268397
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=268397&action=edit
Don't remove empty /usr/local/lib/compat/pkg/

The attached patch obviously fixes the issue.

It I am not mistaken this was suggested by the portmaster maintainer in
https://lists.freebsd.org/archives/freebsd-ports/2025-November/008688.html

Or should '! -name "pkg"' be added to the find command on line #3913 instead?

-- 
You are receiving this mail because:
You are on the CC list for the bug.