Skip to content

Commit

Permalink
media-libs/gd: set TMPDIR for tests
Browse files Browse the repository at this point in the history
Useful to respect ${T} for temporary work
from installing ebuilds, although it passed
tests without this for me.

See: libgd/libgd#763
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Sep 12, 2021
1 parent 9e43423 commit 3246719
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions media-libs/gd/gd-2.3.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3246719

Please sign in to comment.