[Bug 285470] ports-mgmt/pkg: strange query output

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Mar 2025 07:54:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285470

Baptiste Daroussin <bapt@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Works As Intended
             Status|New                         |Closed

--- Comment #1 from Baptiste Daroussin <bapt@FreeBSD.org> ---
I understand this is strange, but this is reality, in the ports tree what is
unique is the package name, not the package category/portname

many things can lead to multiple results on a query on a category:
- flavors (not the case it your example)
- packages belonging to multiple categories, fr-libreoffice will correspond to
those following patterns:
   * french/libreoffice
   * editors/libreoffice

beside recommending to only rely on names and not origin and/or categories to
query precisely packages.

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