On Sun Jul 26, 2026 at 04:37:18PM +0100, Tom Murphy wrote:
> Hi,
> 
>    Here is an update for games/yquake2. Some changes to the port:
> 
> 1. Uses CMAKE to build now
> 2. Builds vs SDL3 by default
> 
>    Both of these changes were done by upstream. I've tested yquake2
> and it plays very smoothly on my 8th Gen. Intel.
> 
>    Thanks,
>    Tom
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/games/yquake2/Makefile,v
> diff -u -p -r1.33 Makefile
> --- Makefile  15 Sep 2025 16:44:58 -0000      1.33
> +++ Makefile  26 Jul 2026 15:32:55 -0000
> @@ -1,6 +1,6 @@
>  COMMENT=     Yamagi Quake II
>  N=           yquake2
> -V=           8.60
> +V=           8.70
>  PKGNAME=     ${N}-${V}
>  DISTNAME=    quake2-${V}
>  CATEGORIES=  games
> @@ -17,12 +17,14 @@ COMPILER= base-clang ports-gcc
>  COMPILER_LANGS=      c
>  
>  # curl and openal are dlopen()'d
> -WANTLIB += GL SDL2 c curl execinfo m openal
> +WANTLIB += GL SDL3 c curl execinfo m openal
> +
> +MODULES =    devel/cmake
>  
>  # Libraries loaded with dlopen(3)
>  # Extra: curl.26 openal.4
>  LIB_DEPENDS= audio/openal \
> -             devel/sdl2 \
> +             devel/sdl3 \
>               net/curl
>  
>  MAKE_ENV+=   VERBOSE=1

... I don't think you need MAKE_ENV, MAKE_FLAGS and USE_GMAKE after
switching to cmake. Do you really need do-install anymore?

> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/games/yquake2/distinfo,v
> diff -u -p -r1.15 distinfo
> --- distinfo  15 Sep 2025 16:44:58 -0000      1.15
> +++ distinfo  26 Jul 2026 15:32:55 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (quake2-8.60.tar.xz) = j2hHN6UqdcCgxGXsJual0P3B1JU5LqgwFa7YRWP5Pg8=
> -SIZE (quake2-8.60.tar.xz) = 2222192
> +SHA256 (quake2-8.70.tar.xz) = N+QUPk02LXuTunqNLDapRfvK6CrvOGUSAyIAIzsXUMg=
> +SIZE (quake2-8.70.tar.xz) = 2231636
> 

Reply via email to