aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2020-04-05 01:14:12 +0800
committerAdriaan de Groot <adridg@FreeBSD.org>2020-04-05 01:14:12 +0800
commit51a828146370d628962c50c94806ba5306319b52 (patch)
tree4fc51509daa2fe33c464a2bed4278b0f9b2d7398 /audio
parentbce2a8887cc6010ccf9ab5151315ac0971973866 (diff)
downloadfreebsd-ports-gnome-51a828146370d628962c50c94806ba5306319b52.tar.gz
freebsd-ports-gnome-51a828146370d628962c50c94806ba5306319b52.tar.zst
freebsd-ports-gnome-51a828146370d628962c50c94806ba5306319b52.zip
audio/musescore prep-work for CMake 3.17
Prepare for building with CMake 3.17, which suffers from Musescore upcasing the BUILD_TYPE halfway through. Bug report to CMake is https://gitlab.kitware.com/cmake/cmake/-/issues/20539 (but I think it's a Musescore problem). No PORTREVISION bump because nothing changes in current builds, and this affects only builds that happen after CMake 3.17 comes out. (and even then the package remains the same)
Diffstat (limited to 'audio')
-rw-r--r--audio/musescore/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/musescore/Makefile b/audio/musescore/Makefile
index e3ceaa7b6aa3..edea4a0a881e 100644
--- a/audio/musescore/Makefile
+++ b/audio/musescore/Makefile
@@ -40,6 +40,8 @@ CMAKE_ARGS+= -DUSE_SYSTEM_FREETYPE="ON" \
-DBUILD_PORTMIDI=OFF \
-DBUILD_PCH=OFF \
-DDOWNLOAD_SOUNDFONT=OFF
+# Musescore upcases the build type anyway
+CMAKE_BUILD_TYPE= RELEASE
# WebEngine is only available on i386/amd64, amd ppc64 starting FreeBSD 13.0.
# If enabled on arches that don't have WebEngine, the build breaks.