From a140b45cb75a645c719f35a7bf05466dbf7db531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 8 Mar 2021 08:41:47 +0100 Subject: [PATCH] app-admin/testdisk: Fix building without qtchooser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/774102 Signed-off-by: Michał Górny --- app-admin/testdisk/testdisk-7.1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-admin/testdisk/testdisk-7.1.ebuild b/app-admin/testdisk/testdisk-7.1.ebuild index c76b3239eb3f7..07e3dfe84f2bc 100644 --- a/app-admin/testdisk/testdisk-7.1.ebuild +++ b/app-admin/testdisk/testdisk-7.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools flag-o-matic xdg-utils +inherit autotools flag-o-matic qmake-utils xdg-utils DESCRIPTION="Checks and undeletes partitions + PhotoRec, signature based recovery tool" HOMEPAGE="https://www.cgsecurity.org/wiki/TestDisk" @@ -53,6 +53,8 @@ RDEPEND="!static? ( ${COMMON_DEPEND} )" DOCS=() src_configure() { + export PATH="$(qt5_get_bindir):${PATH}" + local myconf=( --enable-sudo --without-ntfs