commit:     32467195a7c32ef88f84e81ac1fcc05abd19ccfa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 12 23:56:36 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 12 23:56:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32467195

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 <AT> gentoo.org>

 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 5797a5d83b0..e890c90f2dd 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

Reply via email to