summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-13 00:56:36 +0100
committerSam James <sam@gentoo.org>2021-09-13 00:56:36 +0100
commit32467195a7c32ef88f84e81ac1fcc05abd19ccfa (patch)
tree364ca8eb814b8f668aff872aa9dea75e5a96e485 /media-libs/gd
parentkde-frameworks/qqc2-desktop-style: Stabilize 5.85.0 amd64, #808216 (diff)
downloadgentoo-32467195a7c32ef88f84e81ac1fcc05abd19ccfa.tar.gz
gentoo-32467195a7c32ef88f84e81ac1fcc05abd19ccfa.tar.bz2
gentoo-32467195a7c32ef88f84e81ac1fcc05abd19ccfa.zip
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>
Diffstat (limited to 'media-libs/gd')
-rw-r--r--media-libs/gd/gd-2.3.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/gd/gd-2.3.3.ebuild b/media-libs/gd/gd-2.3.3.ebuild
index 5797a5d83b04..e890c90f2dd2 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