aboutsummaryrefslogtreecommitdiff
path: root/games/palomino/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/palomino/Makefile')
-rw-r--r--games/palomino/Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/games/palomino/Makefile b/games/palomino/Makefile
index 246e624ba584..7d2609bae5a7 100644
--- a/games/palomino/Makefile
+++ b/games/palomino/Makefile
@@ -15,7 +15,6 @@ WWW= https://www.palomino3d.org/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE_GNU_GPL_2.txt
-BROKEN_FreeBSD_14= fails to compile: no matching function for call to 'make_pair'
LIB_DEPENDS= libosg.so:graphics/osg34
@@ -62,7 +61,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|string sDataDir|&="${DATADIR}/data/"|'\
${WRKSRC}/src/base/conf.cc
- @${REINPLACE_CMD} -e '/LUABIND_SCRIPTS_DIR/ s|"scripts"|"${DATADIR}/scripts"|' \
+ @${REINPLACE_CMD} -e '/LUABIND_SCRIPTS_DIR/ s|scripts|${DATADIR}/&|' \
${WRKSRC}/src/lua_bind/defs.hh
@${REINPLACE_CMD} -e 's|doc/html/|${DOCSDIR}/|' ${WRKSRC}/src/gui/gui.cc
@@ -75,6 +74,19 @@ post-patch:
${WRKSRC}/src/hud/hud.hh \
${WRKSRC}/src/hud/hud_text.cc
+ @${REINPLACE_CMD} -e '/std::make_pair/ s,<.*>,,' \
+ ${WRKSRC}/src/collision/collision.cc \
+ ${WRKSRC}/src/fx/image_cache.cc \
+ ${WRKSRC}/src/graph/model_cache.cc \
+ ${WRKSRC}/src/hud/font.cc \
+ ${WRKSRC}/src/lua_bind/lua.cc \
+ ${WRKSRC}/src/object/dyna.cc \
+ ${WRKSRC}/src/sky/sky.cc \
+ ${WRKSRC}/src/sky/sky_dome.cc \
+ ${WRKSRC}/src/sky/sky_dome.hh \
+ ${WRKSRC}/src/sky/sun.hh \
+ ${WRKSRC}/src/sound/sound_base.cc
+
post-patch-SDL-off:
@${REINPLACE_CMD} -e '/COMPILE_WITH_SDL/ d' ${WRKSRC}/CMakeLists.txt