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)
This commit is contained in:
parent
5b77b2df64
commit
89849e0159
1 changed files with 11 additions and 0 deletions
11
audio/cmus/files/patch-configure
Normal file
11
audio/cmus/files/patch-configure
Normal file
|
@ -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 $?
|
||||
}
|
||||
|
Loading…
Reference in a new issue