pkgsrc-WIP-changes archive

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

overgrowth: Use cmake/build.mk



Module Name:	pkgsrc-wip
Committed By:	Charlotte Koch <charlotte%NetBSD.org@localhost>
Pushed By:	cfkoch
Date:		Tue Feb 27 16:05:33 2024 -0800
Changeset:	0b25f0f984b22348d81ee9f9fa593a770735f4c1

Modified Files:
	overgrowth/Makefile

Log Message:
overgrowth: Use 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=0b25f0f984b22348d81ee9f9fa593a770735f4c1

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

diffstat:
 overgrowth/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diffs:
diff --git a/overgrowth/Makefile b/overgrowth/Makefile
index 1596c0f60f..10c88509de 100644
--- a/overgrowth/Makefile
+++ b/overgrowth/Makefile
@@ -14,16 +14,12 @@ LICENSE=	apache-2.0
 WRKSRC=		${WRKDIR}/overgrowth-${GITHUB_TAG}/Projects
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c c++11
-USE_CMAKE=	yes
-
-# Out-of-tree build is required.
-CONFIGURE_DIRS+=	${WRKDIR}/build
 
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=	-DENABLE_RAD_TELEMETRY=OFF
 CMAKE_ARGS+=	-DBUILD_OGDA=OFF
 CMAKE_ARGS+=	-DAUX_DATA=${PREFIX}/share/overgrowth
-CMAKE_ARG_PATH=	${WRKSRC}
+#CMAKE_ARG_PATH=	${WRKSRC}
 
 INSTALLATION_DIRS+=	bin
 
@@ -34,6 +30,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/build/Overgrowth ${DESTDIR}${PREFIX}/bin/Overgrowth
 	${INSTALL_PROGRAM} ${WRKDIR}/build/OvergrowthWorker ${DESTDIR}${PREFIX}/bin/OvergrowthWorker
 
+.include "../../devel/cmake/build.mk"
 .include "../../archivers/brotli/buildlink3.mk"
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../audio/openal-soft/buildlink3.mk"


Home | Main Index | Thread Index | Old Index