From 86473be29f70c53a17c71f96cbbb51cc23caca7e Mon Sep 17 00:00:00 2001 From: Kalin KOZHUHAROV Date: Thu, 21 Jul 2022 09:43:09 +0200 Subject: media-gfx/nomacs-3.16.224-r3: Fix building with USE=plugins It looks like qmake was renamed to qmake5 and could not be found, see 2022-03-30-qt-5_15_3-bump in Gentoo news and https://archives.gentoo.org/gentoo-dev/message/5f3681b5b28dabeb5339d44e9585d29f Closes: https://bugs.gentoo.org/847112 Signed-off-by: Kalin KOZHUHAROV Signed-off-by: James Le Cuirot --- media-gfx/nomacs/nomacs-3.16.224-r2.ebuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'media-gfx') diff --git a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild index 0102090380d2..4fb8d3913800 100644 --- a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild +++ b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild @@ -57,6 +57,9 @@ src_prepare() { if use plugins ; then rmdir plugins || die mv -v ../../${PLUGIN_PKG} plugins || die + # Fix bug #847112 + sed -e 's:QT_QMAKE_EXECUTABLE NAMES "qmake" "qmake-qt5" "qmake.exe":QT_QMAKE_EXECUTABLE NAMES "qmake" "qmake5" "qmake.exe":' \ + -i plugins/cmake/Utils.cmake || die # Fix nomacs-plugins installation and search library directory sed -e "s:lib/nomacs-plugins:$(get_libdir)/nomacs-plugins:" \ -i plugins/cmake/Utils.cmake || die -- cgit v1.2.3-65-gdbad