[Bug 225378] devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Oct 2023 17:16:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225378

Gleb Popov <arrowd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arrowd@FreeBSD.org

--- Comment #12 from Gleb Popov <arrowd@FreeBSD.org> ---
I'd argue that these patches are actually wrong.

The standard states [1] that, for instance, XDG_DATA_DIRS defaults to
"/usr/local/share:/usr/share". If you have unusual value for LOCALBASE then
you're expected to somehow set XDG_DATA_DIRS environment variable globally
rather than patching the code implementing the spec.

[1]
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html ,
the "Environment variables" chapter.

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