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:
Daniel Engberg 2022-05-09 03:07:53 +02:00
parent 5b77b2df64
commit 89849e0159

View 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 $?
}