aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2022-05-09 01:07:53 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2022-05-09 01:07:57 +0000
commit89849e0159c4a7fb140c742749041a043ee28024 (patch)
tree0088bf6d79b584c26376bf6c12d035fa094057d6
parent5b77b2df643cc6ce4b7aa24e3091bb78d01abba8 (diff)
downloadports-89849e0159c4a7fb140c742749041a043ee28024.tar.gz
ports-89849e0159c4a7fb140c742749041a043ee28024.zip
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)
-rw-r--r--audio/cmus/files/patch-configure11
1 files changed, 11 insertions, 0 deletions
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 $?
+ }
+