pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/OpenJK-git: switch to cmake/build.mk



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Fri Aug 23 21:05:30 2024 +0200
Changeset:	c87293ec302eec253e1179e282690a54f8fc84ea

Modified Files:
	OpenJK-git/Makefile

Log Message:
wip/OpenJK-git: switch to cmake/build.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c87293ec302eec253e1179e282690a54f8fc84ea

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 OpenJK-git/Makefile | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diffs:
diff --git a/OpenJK-git/Makefile b/OpenJK-git/Makefile
index a1eb40ffda..f7774748af 100644
--- a/OpenJK-git/Makefile
+++ b/OpenJK-git/Makefile
@@ -12,15 +12,15 @@ LICENSE=	gnu-gpl-v2
 USE_CMAKE=	yes
 USE_LANGUAGES=	c c++
 
-CMAKE_ARGS+=		-DBuildJK2SPEngine:BOOL=YES
-CMAKE_ARGS+=		-DBuildJK2SPGame:BOOL=YES
-CMAKE_ARGS+=		-DBuildJK2SPRdVanilla:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPCGame:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPDed:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPEngine:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPGame:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPRdVanilla:BOOL=YES
-CMAKE_ARGS+=		-DBuildMPUI:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildJK2SPEngine:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildJK2SPGame:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildJK2SPRdVanilla:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPCGame:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPDed:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPEngine:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPGame:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPRdVanilla:BOOL=YES
+CMAKE_CONFIGURE_ARGS+=	-DBuildMPUI:BOOL=YES
 CMAKE_INSTALL_PREFIX=	${PREFIX}/share
 GIT_REPOSITORIES=	OpenJK
 GIT_REPO.OpenJK=	https://github.com/JACoders/OpenJK.git
@@ -41,6 +41,7 @@ post-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/openjo_sp ${DESTDIR}${PREFIX}/bin/openjo_sp
 
 .include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../wip/mk/git-package.mk"


Home | Main Index | Thread Index | Old Index