See tracker.
commit 1ca7e171ffba0c4cb247a1e7830d170e3a98b6fe Author: Alexis Ballier <aballier@gentoo.org> Date: Wed Feb 8 19:09:48 2017 +0100 dev-ml/findlib: export variables in src_prepare rather than calling functions at global scope, bug #593418