git: f262cd70e926 - main - emulators/ppsspp: unbreak with kern.elf*.allow_wx=0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 03 May 2023 16:04:22 UTC
The branch main has been updated by jbeich:

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

commit f262cd70e926f5a1b558153f33e1604f066d83c1
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-03 15:09:09 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-03 16:01:26 +0000

    emulators/ppsspp: unbreak with kern.elf*.allow_wx=0
    
    Common/MemoryUtil.cpp:194 E[MEMMAP]: Failed to allocate executable memory (1048576) errno=13
---
 emulators/ppsspp-qt5/Makefile |  2 +-
 emulators/ppsspp/Makefile     | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/emulators/ppsspp-qt5/Makefile b/emulators/ppsspp-qt5/Makefile
index 2b5cf472f7e3..41539a191451 100644
--- a/emulators/ppsspp-qt5/Makefile
+++ b/emulators/ppsspp-qt5/Makefile
@@ -1,4 +1,4 @@
-PORTREVISION=	0
+PORTREVISION=	1
 PKGNAMESUFFIX=	-qt5
 
 MASTERDIR=	${.CURDIR}/../ppsspp
diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile
index ba9c02c7798f..19f4588bea46 100644
--- a/emulators/ppsspp/Makefile
+++ b/emulators/ppsspp/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ppsspp
 DISTVERSIONPREFIX=	v
 DISTVERSION?=	1.15
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	emulators
 # XXX Get from Debian once #697821 lands
 MASTER_SITES=	https://bazaar.launchpad.net/~sergio-br2/${PORTNAME}/debian-sdl/download/5/${PORTNAME}.1-20140802045408-dd26dik367ztj5xg-8/:manpage
@@ -64,17 +64,17 @@ LIBRETRO_DESC=	libretro core for games/retroarch
 LIBRETRO_CMAKE_BOOL=	LIBRETRO
 LIBRETRO_PLIST_FILES=	lib/libretro/${PORTNAME}_libretro.so
 LIBRETRO_VARS=	CONFLICTS_INSTALL= DESKTOP_ENTRIES= PLIST= PORTDATA= PKGMESSAGE= SUB_FILES=
-QT5_USES=	qt:5 sdl
+QT5_USES=	elfctl qt:5 sdl
 QT5_USE=	QT=qmake:build,buildtools:build,linguisttools:build,gui,multimedia,opengl,widgets
 QT5_USE+=	SDL=sdl2 # audio, joystick
 QT5_CMAKE_BOOL=	USING_QT_UI
-QT5_VARS=	EXENAME=PPSSPPQt
+QT5_VARS=	EXENAME=PPSSPPQt ELF_FEATURES=+wxneeded:PPSSPPQt
 SDL_CATEGORIES=		wayland
 SDL_BUILD_DEPENDS=	png>=1.6:graphics/png
 SDL_LIB_DEPENDS=	libpng.so:graphics/png
-SDL_USES=	sdl
+SDL_USES=	elfctl sdl
 SDL_USE=	SDL=sdl2
-SDL_VARS=	EXENAME=PPSSPPSDL
+SDL_VARS=	EXENAME=PPSSPPSDL ELF_FEATURES=+wxneeded:PPSSPPSDL
 VULKAN_DESC=		Vulkan renderer
 VULKAN_RUN_DEPENDS=	${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader