Date: Sun, 11 Sep 2022 05:21:28 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 5a0f04a976b0 - main - audio/yoshimi: Not override port defaults for CMAKE_BUILD_TYPE and CXXFLAGS Message-ID: <202209110521.28B5LSir051674@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a0f04a976b000e49180daf7ba52e67826018dca commit 5a0f04a976b000e49180daf7ba52e67826018dca Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-09-11 05:06:12 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-09-11 05:21:26 +0000 audio/yoshimi: Not override port defaults for CMAKE_BUILD_TYPE and CXXFLAGS PR: 266334 Reported by: Daniel Engberg <diizzy@FreeBSD.org> --- audio/yoshimi/files/patch-src_CMakeLists.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/audio/yoshimi/files/patch-src_CMakeLists.txt b/audio/yoshimi/files/patch-src_CMakeLists.txt new file mode 100644 index 000000000000..dc7592dfa60a --- /dev/null +++ b/audio/yoshimi/files/patch-src_CMakeLists.txt @@ -0,0 +1,20 @@ +- disable override of port-defined CMAKE_BUILD_TYPE and CXXFLAGS + +--- src/CMakeLists.txt.orig 2022-09-11 04:00:10 UTC ++++ src/CMakeLists.txt +@@ -263,6 +263,7 @@ else() + endif () + set (CMAKE_CXX_FLAGS "${OurCxxFlags} ${CMAKE_CXX_FLAGS}") + ++if (FALSE) + if (BuildForDebug) + set (CMAKE_BUILD_TYPE "Debug") + set (CMAKE_CXX_FLAGS_DEBUG ${BuildOptionsDebug}) +@@ -271,6 +272,7 @@ else() + set (CMAKE_BUILD_TYPE "Release") + set (CMAKE_CXX_FLAGS_RELEASE ${BuildOptionsRelease}) + message (STATUS "RELEASE Build, flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_RELEASE}") ++endif () + endif () + + configure_file(
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209110521.28B5LSir051674>