git: c32214ba717c - main - audio/cantata: Fix linking with MUSICBRAINZ option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Nov 2024 06:50:35 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=c32214ba717c345ef6846332651e4bc0bf9a6386 commit c32214ba717c345ef6846332651e4bc0bf9a6386 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2024-11-18 06:46:57 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2024-11-18 06:49:40 +0000 audio/cantata: Fix linking with MUSICBRAINZ option https://github.com/nullobsi/cantata/pull/46 MFH: 2024Q4 --- .../files/patch-cmake_FindMusicBrainz5.cmake | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/audio/cantata/files/patch-cmake_FindMusicBrainz5.cmake b/audio/cantata/files/patch-cmake_FindMusicBrainz5.cmake new file mode 100644 index 000000000000..b91c338ef2b6 --- /dev/null +++ b/audio/cantata/files/patch-cmake_FindMusicBrainz5.cmake @@ -0,0 +1,31 @@ +Fix linking when the MUSICBRAINZ option is enabled. + +https://github.com/nullobsi/cantata/pull/46 + +--- cmake/FindMusicBrainz5.cmake.orig 2024-08-05 22:17:52 UTC ++++ cmake/FindMusicBrainz5.cmake +@@ -40,7 +40,7 @@ if(PKG_CONFIG_FOUND) + # First use PKG-Config as a starting point. + find_package(PkgConfig) + if(PKG_CONFIG_FOUND) +- pkg_check_modules(PC_MusicBrainz5 QUIET libmusicbrainz5) ++ pkg_check_modules(PC_MusicBrainz5 QUIET libmusicbrainz5cc) + endif(PKG_CONFIG_FOUND) + + find_path(MusicBrainz5_INCLUDE_DIR +@@ -50,7 +50,7 @@ find_library(MusicBrainz5_LIBRARY + ) + + find_library(MusicBrainz5_LIBRARY +- NAMES musicbrainz5 ++ NAMES musicbrainz5cc + PATHS ${PC_MusicBrainz5_LIBRARY_DIRS} + ) + +@@ -83,4 +83,4 @@ mark_as_advanced( + mark_as_advanced( + MusicBrainz5_INCLUDE_DIR + MusicBrainz5_LIBRARY +-) +\ No newline at end of file ++)