dev-tcltk/tkimg: fix test when not installed

Closes: https://bugs.gentoo.org/804106
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2022-02-17 20:38:52 +01:00
parent 5f2c0c97b8
commit 4204f6e8cd
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/Makefile.in 2022-02-17 20:34:02.134144390 +0100
+++ b/Makefile.in 2022-02-17 20:32:31.957625786 +0100
@@ -109,7 +109,7 @@
do \
here=`pwd` && \
cd $$sub && \
- $(MAKE) top_builddir=$$here test || exit $$? && \
+ $(MAKE) top_builddir=$$here libdir=.. test || exit $$? && \
cd $$here ; \
done

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -37,6 +37,7 @@ S="${WORKDIR}/Img-${PV}"
PATCHES=(
"${WORKDIR}"/patchset-1
"${FILESDIR}"/${P}-test.patch
)
src_prepare() {