Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2023 01:05:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 225378] devel/glib20: Fix mime search path when LOCALBASE != /usr/local (honour LOCALBASE)
Message-ID:  <bug-225378-6497-GNhKY73OLw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225378-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225378-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225378

--- Comment #13 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Gleb Popov from comment #12)
I disagree. Patching is correct but suboptimal.

/usr/local in XDG is based on Linux FHS aka GNU hier(7). /usr/local should
*not* be modified by system package manager. NetBSD made PkgSrc compatible =
by
changing LOCALBASE default while FreeBSD takes advantage of ambiguity/mess
under POLA banner.

FreeBSD hier(7) cannot guarantee /usr/local exists outside of ports(7) cont=
ext.
Nowadays, /usr/local is semi-standardized (used by base system but not
documented in hier(7) yet) as LOCABLASE environment variable with "sysctl
user.localbase" fallback.

FreeBSD equivalent of /usr/local in GNU hier(7) would be any custom
non-conflicting top-level directory like /local. Given FreeBSD already uses
"local" to denote site-local configuration (e.g., rc.conf vs. rc.conf.local)
top-level /local can be a natural extension even if not defined by hier(7).=
=20

See also
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
https://github.com/netbsd/pkgsrc/commit/41ed126f8745
https://wiki.freebsd.org/WarnerLosh/UsrLocal

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225378-6497-GNhKY73OLw>