git: b272a544be59 - main - games/vvvvvv: Fix build with utf8cpp 4.0.3+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 06:09:11 UTC
The branch main has been updated by sunpoet:

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

commit b272a544be5982bd80309d8845dd737e7031b4fe
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-14 05:41:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-14 05:49:04 +0000

    games/vvvvvv: Fix build with utf8cpp 4.0.3+
    
    - Update version requirement of BUILD_DEPENDS to avoid using utf8cpp 4.0.2
    
    utf8cpp 3.* installs to ${PREFIX}/include/utf8cpp/.
    utf8cpp 4.0.{0,1,2} changes to ${PREFIX}/include/.
    utf8cpp 4.0.3 changes back to ${PREFIX}/include/utf8cpp/.
---
 games/vvvvvv/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games/vvvvvv/Makefile b/games/vvvvvv/Makefile
index 1e012eb34d83..c061c493f10d 100644
--- a/games/vvvvvv/Makefile
+++ b/games/vvvvvv/Makefile
@@ -25,7 +25,7 @@ LICENSE_PERMS_VVVVVV=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accep
 IGNORE=		license requires that the license be shipped
 .endif
 
-BUILD_DEPENDS=	utf8cpp>=4.0.0:devel/utf8cpp
+BUILD_DEPENDS=	utf8cpp>=4.0.3:devel/utf8cpp
 LIB_DEPENDS=	libtinyxml2.so:textproc/tinyxml2 \
 		libphysfs.so:devel/physfs
 
@@ -38,7 +38,7 @@ GH_ACCOUNT=	TerryCavanagh
 GH_PROJECT=	${PORTNAME}
 USE_SDL=	sdl2 mixer2
 
-CFLAGS+=	-DASSETSPATH='\"${DATADIR}/data.zip\"'
+CFLAGS+=	-DASSETSPATH='\"${DATADIR}/data.zip\"' -I${LOCALBASE}/include/utf8cpp
 CMAKE_OFF=	BUNDLE_DEPENDENCIES
 .if ${FLAVOR:U} == makeandplay
 CMAKE_ON=	MAKEANDPLAY