commit:     4204f6e8cd2485fa224b25bd2be8182f578608b9
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 17 19:38:52 2022 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Feb 17 19:38:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4204f6e8

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

 dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch | 11 +++++++++++
 dev-tcltk/tkimg/tkimg-1.4.13.ebuild           |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch 
b/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch
new file mode 100644
index 000000000000..840e013b6915
--- /dev/null
+++ b/dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch
@@ -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
+ 

diff --git a/dev-tcltk/tkimg/tkimg-1.4.13.ebuild 
b/dev-tcltk/tkimg/tkimg-1.4.13.ebuild
index feba8d5b635d..1c8ec49d4031 100644
--- a/dev-tcltk/tkimg/tkimg-1.4.13.ebuild
+++ b/dev-tcltk/tkimg/tkimg-1.4.13.ebuild
@@ -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() {

Reply via email to