aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-14 05:41:32 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-12-14 05:49:04 +0000
commitb272a544be5982bd80309d8845dd737e7031b4fe (patch)
tree7ad91dc911048e9b1392f3bd7805336a007bdb93
parent419a1eb49424c25ff3e081206ed345a36ebc4d9f (diff)
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/.
-rw-r--r--games/vvvvvv/Makefile4
1 files 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