Date: Tue, 04 May 2021 21:57:05 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 255600] Mk/bsd.port.mk: Set XDG_CACHE_HOME in CONFIGURE_ENV and MAKE_ENV Message-ID: <bug-255600-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255600 Bug ID: 255600 Summary: Mk/bsd.port.mk: Set XDG_CACHE_HOME in CONFIGURE_ENV and MAKE_ENV Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@freebsd.org CC: ports-bugs@FreeBSD.org Created attachment 224670 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224670&action= =3Dedit XDG_CACHE_HOME.patch Currently XDG_DATA_HOME and XDG_CONFIG_HOME are set in CONFIGURE_ENV and MAKE_ENV. The attached patch also sets XDG_CACHE_HOME. Without XDG_CACHE_HOME some software (for ex. https://github.com/coursier/coursier) still writes into /home/{user}/.cache= . My guess is that they compute the string /home/{user}/.cache based on the curr= ent user name, because it isn't mentioned anywhere else in the environment. XDG_CACHE_HOME is described in the XDG Base Directory Specification (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.ht= ml). Setting XDG_CACHE_HOME along with CONFIGURE_ENV and MAKE_ENV is a natural t= hing to do. --=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-255600-7788>