diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-10-06 10:58:20 +0200 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2021-10-06 14:01:52 +0200 |
commit | 79ac62f35b153e536185a32d12366dc0ccdc1245 (patch) | |
tree | 41ece6985dfd0418bf2b7bd13a22a8cda1f0490f /Mk/Uses/gnome.mk | |
parent | devel/rust-analyzer: Update to 2021-10-04 (diff) |
Mk/bsd.port.mk: Export XDG_CACHE_HOME
This adds XDG_CACHE_HOME to the set of XDG_* variables exported in
CONFIGURE_ENV and MAKE_ENV.
Without XDG_CACHE_HOME in the environment some software (for ex.
https://github.com/coursier/coursier) falls back to using
/home/{user}/.cache during the build and writes outside the working
directory.
XDG_CACHE_HOME is described in the XDG Base Directory Specification:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
PR: 255600
Exp-run by: antoine
Diffstat (limited to '')
-rw-r--r-- | Mk/Uses/gnome.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk index 115b6460c24c..66d7f4d0169c 100644 --- a/Mk/Uses/gnome.mk +++ b/Mk/Uses/gnome.mk @@ -215,7 +215,7 @@ introspection_BUILD_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_LIB_DEPENDS= libgirepository-1.0.so:devel/gobject-introspection introspection_RUN_DEPENDS= g-ir-scanner:devel/gobject-introspection introspection_USE_GNOME_IMPL= glib20 -introspection_MAKE_ENV= GI_SCANNER_DISABLE_CACHE=1 XDG_CACHE_HOME=${WRKDIR} +introspection_MAKE_ENV= GI_SCANNER_DISABLE_CACHE=1 gconf2_LIB_DEPENDS= libgconf-2.so:devel/gconf2 gconf2_USE_GNOME_IMPL= orbit2 libxml2 gtk20 |