git: e564411db274 - main - games/py-fife: try to fix the port's build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Jan 2025 06:44:33 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=e564411db274034e6bd7fa937c9cf0fc292789ad commit e564411db274034e6bd7fa937c9cf0fc292789ad Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2025-01-30 06:42:46 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2025-01-30 06:42:46 +0000 games/py-fife: try to fix the port's build. --- games/py-fife/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/games/py-fife/Makefile b/games/py-fife/Makefile index 5aa2ee257d97..d119df9fe9b0 100644 --- a/games/py-fife/Makefile +++ b/games/py-fife/Makefile @@ -11,8 +11,6 @@ WWW= https://www.fifengine.net/ LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.md -BROKEN= error: no member named 'extension' in namespace 'boost::filesystem'; did you mean 'GetExtension'? - LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libtinyxml.so:textproc/tinyxml \ libboost_filesystem.so:devel/boost-libs \ @@ -66,4 +64,11 @@ LIBRARY_CMAKE_BOOL= build-library # LIBRARY_CMAKE_ON= -Dbuild-library=ON -DBUILD_SHARED_LIBS=OFF # LIBRARY_CMAKE_OFF= -Dbuild-library=OFF +post-patch: + @${REINPLACE_CMD} -e 's,bfs::extension,GetExtension,g' \ + ${WRKSRC}/engine/core/loaders/native/map/atlasloader.cpp \ + ${WRKSRC}/engine/core/loaders/native/map/maploader.cpp \ + ${WRKSRC}/engine/core/loaders/native/map/objectloader.cpp \ + ${WRKSRC}/engine/core/gui/fifechan/fifechanmanager.cpp + .include <bsd.port.mk>