1 |
commit: 32467195a7c32ef88f84e81ac1fcc05abd19ccfa |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 12 23:56:36 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 12 23:56:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32467195 |
7 |
|
8 |
media-libs/gd: set TMPDIR for tests |
9 |
|
10 |
Useful to respect ${T} for temporary work |
11 |
from installing ebuilds, although it passed |
12 |
tests without this for me. |
13 |
|
14 |
See: https://github.com/libgd/libgd/issues/763 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
media-libs/gd/gd-2.3.3.ebuild | 5 +++++ |
18 |
1 file changed, 5 insertions(+) |
19 |
|
20 |
diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3.ebuild |
21 |
index 5797a5d83b0..e890c90f2dd 100644 |
22 |
--- a/media-libs/gd/gd-2.3.3.ebuild |
23 |
+++ b/media-libs/gd/gd-2.3.3.ebuild |
24 |
@@ -84,6 +84,11 @@ multilib_src_configure() { |
25 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
26 |
} |
27 |
|
28 |
+multilib_src_test() { |
29 |
+ # See https://github.com/libgd/libgd/issues/763 (although it still passed without it here?) |
30 |
+ TMPDIR="${T}" default |
31 |
+} |
32 |
+ |
33 |
multilib_src_install_all() { |
34 |
dodoc README.md |
35 |
find "${ED}" -name '*.la' -delete || die |