diff --git a/emulators/cannonball/Makefile b/emulators/cannonball/Makefile index 2cb69b21f970..f61e28e43be8 100644 --- a/emulators/cannonball/Makefile +++ b/emulators/cannonball/Makefile @@ -1,45 +1,45 @@ PORTNAME= cannonball DISTVERSION= 0.34 DISTVERSIONPREFIX=v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators games MAINTAINER= fox@FreeBSD.org COMMENT= Enhanced OutRun Engine WWW= https://github.com/djyt/cannonball/wiki LICENSE= MAME-LICENSE LICENSE_NAME= MAME license LICENSE_FILE= ${WRKSRC}/docs/license.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept BUILD_DEPENDS= ${LOCALBASE}/include/boost/exception/all.hpp:devel/boost-libs USES= cmake:insource gl pkgconfig sdl USE_SDL= sdl2 USE_GL= gl glu CMAKE_ARGS+= ${WRKSRC}/cmake \ -DTARGET=linux.cmake CFLAGS+= -I${LOCALBASE}/include USE_GITHUB= yes GH_ACCOUNT= djyt BUILD_WRKSRC= ${WRKSRC}/cmake CONFIGURE_WRKSRC= ${WRKSRC}/cmake SUB_FILES= ${PORTNAME}.sh do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/res ${MKDIR} ${STAGEDIR}${DATADIR}/conf ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilemap.bin ${STAGEDIR}${DATADIR}/res/tilemap.bin ${INSTALL_DATA} ${WRKSRC}/cmake/res/tilepatch.bin ${STAGEDIR}${DATADIR}/res/tilepatch.bin ${INSTALL_DATA} ${WRKSRC}/cmake/config.xml ${STAGEDIR}${DATADIR}/conf/config.xml ${INSTALL_MAN} ${WRKSRC}/docs/cannonball.6 ${STAGEDIR}${PREFIX}/share/man/man6 ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/cmake/cannonball ${STAGEDIR}${PREFIX}/libexec .include diff --git a/emulators/cannonball/files/patch-cmake_CMakeLists.txt b/emulators/cannonball/files/patch-cmake_CMakeLists.txt new file mode 100644 index 000000000000..6e43be87ad5a --- /dev/null +++ b/emulators/cannonball/files/patch-cmake_CMakeLists.txt @@ -0,0 +1,13 @@ +Add compatibility for CMake 4. + +--- cmake/CMakeLists.txt.orig 2026-08-25 20:05:26 UTC ++++ cmake/CMakeLists.txt +@@ -5,7 +5,7 @@ + # Everything should go into a win64.cmake equivalent. + # ----------------------------------------------------------------------------- + +-cmake_minimum_required (VERSION 3.3.2) # Might compile lower, but untested ++cmake_minimum_required (VERSION 3.5.2) # Might compile lower, but untested + project (cannonball) + + # -----------------------------------------------------------------------------