Date: Fri, 21 Jul 2023 18:26:27 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 699949d3b3a6 - main - games/motogt: Fix build with llvm16 Message-ID: <202307211826.36LIQRjE091228@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=699949d3b3a6031412f425ca0e4b090d57763dfe commit 699949d3b3a6031412f425ca0e4b090d57763dfe Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-21 18:12:26 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-21 18:26:14 +0000 games/motogt: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/motogt/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/games/motogt/Makefile b/games/motogt/Makefile index 8050eb8f0c28..0bdb27956d72 100644 --- a/games/motogt/Makefile +++ b/games/motogt/Makefile @@ -9,26 +9,29 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-viewed motorcycle racing game WWW= http://motogt.sourceforge.net/ -LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \ - libpng.so:graphics/png - LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= multi -LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt +LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt + +LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \ + libpng.so:graphics/png USES= gl localbase:ldflags zip +USE_CXXSTD= c++14 USE_GL= gl -BUILD_WRKSRC= ${WRKSRC}/src + MAKEFILE= Makefile.lnx MAKE_JOBS_UNSAFE= yes + SUB_FILES= motogt +BUILD_WRKSRC= ${WRKSRC}/src +WRKSRC= ${WRKDIR}/MotoGT + PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin PORTDATA= * -WRKSRC= ${WRKDIR}/MotoGT - post-patch: @${REINPLACE_CMD} -e '/#include/ s|SFML|&1|' ${WRKSRC}/data/src/editor.cpp ${WRKSRC}/src/*.h @${REINPLACE_CMD} -e 's|-lsfml|&1|g' ${WRKSRC}/src/Makefile.lnx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307211826.36LIQRjE091228>