git: 89849e0159c4 - main - audio/cmus: Fix detection using pkg-config with libmad 0.16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 01:08:42 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=89849e0159c4a7fb140c742749041a043ee28024 commit 89849e0159c4a7fb140c742749041a043ee28024 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-05-09 01:07:53 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-05-09 01:07:57 +0000 audio/cmus: Fix detection using pkg-config with libmad 0.16 Filename for libmad's pc file is now libmad.pc, this broke pkg-config check however fallback detection code still worked. Approved by: portmgr (blanket) --- audio/cmus/files/patch-configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/audio/cmus/files/patch-configure b/audio/cmus/files/patch-configure new file mode 100644 index 000000000000..ee957c751f73 --- /dev/null +++ b/audio/cmus/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig 2022-05-09 00:59:25 UTC ++++ configure +@@ -229,7 +229,7 @@ check_flac() + + check_mad() + { +- pkg_config MAD "mad" "" "-lmad -lm" ++ pkg_config MAD "libmad" "" "-lmad -lm" + return $? + } +