git: ef2913585011 - main - emulators/yuzu: simplify post-patch after 95399d6ad468

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 03 Dec 2022 23:39:07 UTC
The branch main has been updated by jbeich:

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

commit ef2913585011d286cfef5b52455cb6ac2ed5b944
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-03 22:35:10 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-03 23:39:03 +0000

    emulators/yuzu: simplify post-patch after 95399d6ad468
    
    https://github.com/yuzu-emu/yuzu/commit/8b40b5908415
---
 emulators/yuzu/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile
index e5b9cbdc12d2..b249c0f1af40 100644
--- a/emulators/yuzu/Makefile
+++ b/emulators/yuzu/Makefile
@@ -58,7 +58,7 @@ USE_GCC=	yes:build # libc++ lacks std::atomic_ref, std::ranges
 USE_SDL=	sdl2
 CMAKE_ON=	Boost_USE_STATIC_LIBS
 CMAKE_ON+=	BUNDLE_SPEEX # only used by cubeb tests
-CMAKE_OFF=	YUZU_USE_BUNDLED_OPUS YUZU_USE_EXTERNAL_SDL2
+CMAKE_OFF=	YUZU_CHECK_SUBMODULES YUZU_USE_BUNDLED_OPUS YUZU_USE_EXTERNAL_SDL2
 CMAKE_OFF+=	${CMAKE_TESTING_ON}
 CMAKE_TESTING_ON=	YUZU_TESTS
 LDFLAGS+=	-static-libstdc++ -static-libgcc # avoid libc++ conflict, requires files/patch-fmt
@@ -107,8 +107,6 @@ WEBENGINE_CMAKE_BOOL=	YUZU_USE_QT_WEB_ENGINE
 WEBENGINE_IMPLIES=	QT5
 
 post-patch:
-	@${REINPLACE_CMD} -e '/check_submodules_present()/d' \
-		${WRKSRC}/CMakeLists.txt
 	@${REINPLACE_CMD} -e 's/@GIT_BRANCH@/master/' \
 		-e 's/@GIT_DESC@/${GH_TAGNAME}/' \
 		${WRKSRC}/src/common/scm_rev.cpp.in