FreeBSD akode: Add a check for a pkg-config package named libmad next to mad.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/158/head
Slávek Banko 2 years ago
parent 8db8455459
commit b0879a4806
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -9,7 +9,7 @@ PORTNAME= akode
COMMENT= akode plugin for aRts
TDE_PREVERSION=
MASTER_SITE_SUBDIR= a/${PORTNAME}
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= audio
DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
DIST_SUBDIR= TDE/dependencies

@ -0,0 +1,21 @@
commit b17ef87b7a06f73ff91fb611cedbabfbf935ec88
Author: Slávek Banko <slavek.banko@axis.cz>
Date: Mon Jul 11 20:01:54 2022 +0200
Add a check for a pkg-config package named libmad next to mad.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index dd50162..9867c04 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -195,7 +195,7 @@ endif( WITH_FFMPEG_DECODER )
if( WITH_MPEG_DECODER )
- pkg_search_module( MAD mad )
+ pkg_search_module( MAD libmad mad )
if( NOT MAD_FOUND )
find_library( MAD_LIBRARIES NAMES mad )
Loading…
Cancel
Save