git: db0c572e0ab6 - main - devel/gpds: Allow build with tinyxml2 with meson

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:18:55 UTC
The branch main has been updated by sunpoet:

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

commit db0c572e0ab6764db5dd73ada9b6bc2a576a5652
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:57:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:07:21 +0000

    devel/gpds: Allow build with tinyxml2 with meson
---
 devel/gpds/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/gpds/Makefile b/devel/gpds/Makefile
index 2f4195438111..1b95c65c404a 100644
--- a/devel/gpds/Makefile
+++ b/devel/gpds/Makefile
@@ -14,11 +14,11 @@ BUILD_DEPENDS=	tinyxml2>10:textproc/tinyxml2
 LIB_DEPENDS=	libtinyxml2.so:textproc/tinyxml2
 RUN_DEPENDS=	tinyxml2>10:textproc/tinyxml2
 
-USES=		cmake compiler:c++20-lang
+USES=		cmake compiler:c++20-lang pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	simulton
 
-CMAKE_ON=	GPDS_BUILD_STATIC GPDS_BUILD_SHARED GPDS_DEPENDENCY_TINYXML2_FINDPACKAGE
+CMAKE_ON=	GPDS_BUILD_STATIC GPDS_BUILD_SHARED GPDS_DEPENDENCY_TINYXML2_PKGCONFIG
 CMAKE_OFF=	GPDS_BUILD_EXAMPLES GPDS_BUILD_TESTS
 
 PLIST_SUB=	SOVERSION="${DISTVERSION}"