git: f701da3ef022 - main - audio/musescore: ignore qmake (the Qt3 one)

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Tue, 16 Aug 2022 20:19:21 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f701da3ef02213e358f37fece79075c2837e0f23

commit f701da3ef02213e358f37fece79075c2837e0f23
Author:     Mamoru Iwaki <>
AuthorDate: 2022-08-16 20:10:59 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-08-16 20:10:59 +0000

    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
---
 audio/musescore/files/patch-CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)