diff options
authorMamoru Iwaki <>2022-08-16 20:10:59 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2022-08-16 20:10:59 +0000
commitf701da3ef02213e358f37fece79075c2837e0f23 (patch)
parent05014c95ec14834d4116ca0b1e3f02a4f06c65c4 (diff)
audio/musescore: ignore qmake (the Qt3 one)
If devel/qmake (the Qt3 version) is installed, it is un-suffixed and is found as "qmake", rather than the current "qmake-qt5" which is what Musescore needs. Patch out the name "qmake" entirely. Submitted by Mamoru Iwaki in the linked PR. I don't know if we have a policy on adding people's email addresses out of the PR database, so I left it out in this commit. PR: 265775
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/musescore/files/patch-CMakeLists.txt b/audio/musescore/files/patch-CMakeLists.txt
index efc92056415c..7403aa40adaf 100644
--- a/audio/musescore/files/patch-CMakeLists.txt
+++ b/audio/musescore/files/patch-CMakeLists.txt
@@ -10,7 +10,7 @@ up with the dependency loop; make handles this without complaint)
# Print Qt version or fail the build if Qt (qmake) is not in PATH.
-fn__require_program(QMAKE Qt --version "https://musescore.org/en/handbook/developers-handbook/compilation" qmake)
-+fn__require_program(QMAKE Qt --version "https://musescore.org/en/handbook/developers-handbook/compilation" qmake qmake-qt5)
++fn__require_program(QMAKE Qt --version "https://musescore.org/en/handbook/developers-handbook/compilation" qmake-qt5)
# Libraries linked via full path no longer produce linker search paths.
cmake_policy(SET CMP0003 NEW)