commit:     fe1e9d63e138d4cf1bd4b6ae255c8f70805c9321
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 27 20:54:41 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Jan 27 21:08:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe1e9d63

games-emulation/pcsx2: fix build with wxGTK[sdl], adjust options

SDL2_API is essentially an unused option, but an old cmake check
still use it when it detects wxGTK was built with sdl support.

Also sorted options and removed CMAKE_LIBRARY_PATH as it does
not install plugins anymore.

Thanks-to: Jusef N.
Closes: https://github.com/gentoo/gentoo/pull/23989
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 games-emulation/pcsx2/pcsx2-9999.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/games-emulation/pcsx2/pcsx2-9999.ebuild 
b/games-emulation/pcsx2/pcsx2-9999.ebuild
index 98c547c226ce..f5543f61bed1 100644
--- a/games-emulation/pcsx2/pcsx2-9999.ebuild
+++ b/games-emulation/pcsx2/pcsx2-9999.ebuild
@@ -96,13 +96,12 @@ src_configure() {
                -DDISABLE_BUILD_DATE=TRUE
                -DDISABLE_PCSX2_WRAPPER=TRUE
                -DDISABLE_SETCAP=TRUE
-               -DENABLE_TESTS="$(usex test)"
+               -DENABLE_TESTS=$(usex test)
                -DPACKAGE_MODE=TRUE
-               -DXDG_STD=TRUE
-
-               -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)/${PN}"
+               -DSDL2_API=TRUE # uses SDL2 either way but option is needed if 
wxGTK[sdl]
                -DUSE_SYSTEM_YAML=TRUE
                -DUSE_VTUNE=FALSE
+               -DXDG_STD=TRUE
        )
 
        setup-wxwidgets

Reply via email to