commit:     a140b45cb75a645c719f35a7bf05466dbf7db531
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  8 07:41:47 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  8 07:42:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a140b45c

app-admin/testdisk: Fix building without qtchooser

Closes: https://bugs.gentoo.org/774102
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 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 c76b3239eb3..07e3dfe84f2 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

Reply via email to