net-p2p/syncthing: reset xdg environment
authorMarek Szuba <marecki@gentoo.org>
Fri, 15 Mar 2019 10:46:54 +0000 (10:46 +0000)
committerMarek Szuba <marecki@gentoo.org>
Fri, 15 Mar 2019 10:53:35 +0000 (10:53 +0000)
commitb67a7186692191fbee1b164af49fa66f04f3a785
tree7b725bde63d2bc217abd0ee3916285943f7823bb
parentf407bfece286564ed428343b021760f5b6735869
net-p2p/syncthing: reset xdg environment

Turns out go uses $XDG_CACHE_HOME to decide where to put the build
cache. Make sure it, and to be on the safe side the rest of XDG
environment as well, is reset before building Syncthing.

We do not inherit xdg.eclass for this purpose because it introduces
several dependencies we do not actually need.

Closes: https://bugs.gentoo.org/679280
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
net-p2p/syncthing/syncthing-1.0.1.ebuild