summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-02-17 20:38:52 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-02-17 20:38:52 +0100
commit4204f6e8cd2485fa224b25bd2be8182f578608b9 (patch)
tree2d1a312ad190a5d88f3511a0ba50c7a6d8815cb5 /dev-tcltk
parentapp-text/recode: add 3.7.12 (diff)
downloadgentoo-4204f6e8cd2485fa224b25bd2be8182f578608b9.tar.gz
gentoo-4204f6e8cd2485fa224b25bd2be8182f578608b9.tar.bz2
gentoo-4204f6e8cd2485fa224b25bd2be8182f578608b9.zip
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>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tkimg/files/tkimg-1.4.13-test.patch11
-rw-r--r--dev-tcltk/tkimg/tkimg-1.4.13.ebuild3
2 files changed, 13 insertions, 1 deletions
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 00000000000..840e013b691
--- /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 feba8d5b635..1c8ec49d403 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() {