git: 728c11b498f6 - main - audio/qtractor: Fix build with libmad 0.16

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Mon, 09 May 2022 00:01:12 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=728c11b498f6e53c2c705b68618b6cde471d7fe1

commit 728c11b498f6e53c2c705b68618b6cde471d7fe1
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2022-05-08 23:40:20 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2022-05-09 00:00:59 +0000

    audio/qtractor: Fix build with libmad 0.16
    
    Filename for libmad's pc file is now libmad.pc
    
    Approved by:    portmgr (blanket)
---
 audio/qtractor/files/patch-CMakeLists.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/audio/qtractor/files/patch-CMakeLists.txt b/audio/qtractor/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..09b05e59d8df
--- /dev/null
+++ b/audio/qtractor/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2022-05-08 05:23:35 UTC
++++ CMakeLists.txt
+@@ -378,7 +378,7 @@ endif ()
+ 
+ # Check for MAD libraries.
+ if (CONFIG_LIBMAD)
+-  pkg_check_modules (MAD IMPORTED_TARGET mad)
++  pkg_check_modules (MAD IMPORTED_TARGET libmad)
+   if (NOT MAD_FOUND)
+     message (WARNING "*** MAD library not found.")
+     set (CONFIG_LIBMAD 0)