From 32467195a7c32ef88f84e81ac1fcc05abd19ccfa Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 13 Sep 2021 00:56:36 +0100 Subject: [PATCH] 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 --- media-libs/gd/gd-2.3.3.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3.ebuild index 5797a5d83b047..e890c90f2dd2a 100644 --- a/media-libs/gd/gd-2.3.3.ebuild +++ b/media-libs/gd/gd-2.3.3.ebuild @@ -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