git: a1657e02670c - main - games/naev: Fix build

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 16 Jul 2023 07:26:28 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a1657e02670c38e536acb16d44f828a94cd5d51b

commit a1657e02670c38e536acb16d44f828a94cd5d51b
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-07-16 07:25:29 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-07-16 07:26:20 +0000

    games/naev: Fix build
    
    - Fix python detection
    Reported by:    pkg-fallout
---
 games/naev/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/games/naev/Makefile b/games/naev/Makefile
index 56218742b584..28d977af4777 100644
--- a/games/naev/Makefile
+++ b/games/naev/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	naev
 PORTVERSION=	0.10.6
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-source
 CATEGORIES=	games
 MASTER_SITES=	https://github.com/naev/naev/releases/download/v${PORTVERSION}/
@@ -47,4 +48,7 @@ MESON_ARGS=	-Ddocs_c=disabled -Ddocs_lua=disabled
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+post-patch:
+	${REINPLACE_CMD} 's|python3|${PYTHON_VERSION}|g' ${WRKSRC}/meson.build
+
 .include <bsd.port.mk>