media-libs/gd: set TMPDIR for tests

Useful to respect ${T} for temporary work
from installing ebuilds, although it passed
tests without this for me.

See: https://github.com/libgd/libgd/issues/763
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-09-13 00:56:36 +01:00
parent 9e43423891
commit 32467195a7
+5
View File
@@ -84,6 +84,11 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
multilib_src_test() {
# See https://github.com/libgd/libgd/issues/763 (although it still passed without it here?)
TMPDIR="${T}" default
}
multilib_src_install_all() {
dodoc README.md
find "${ED}" -name '*.la' -delete || die