diff options
author | nia <nia@pkgsrc.org> | 2020-06-25 12:17:42 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-06-25 12:17:42 +0000 |
commit | 2a70ccc1940d9e83670f4f54ff817f8dc7b1e969 (patch) | |
tree | 7c8d1eb07c8f8f6892215b6c6eef2e77239e6f1a /emulators | |
parent | 964f09e9f6113b2ee6b8984a34a5ed3eec9aaf37 (diff) | |
download | pkgsrc-2a70ccc1940d9e83670f4f54ff817f8dc7b1e969.tar.gz |
retroarch: Simplify OpenGL handling for Darwin.
Ensure options group isn't empty.
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/retroarch/options.mk | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/emulators/retroarch/options.mk b/emulators/retroarch/options.mk index 1a0756fba65..0dcbc8a352b 100644 --- a/emulators/retroarch/options.mk +++ b/emulators/retroarch/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.14 2020/05/30 14:26:52 nia Exp $ +# $NetBSD: options.mk,v 1.15 2020/06/25 12:17:42 nia Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.retroarch @@ -13,12 +13,8 @@ PKG_OPTIONS_OPTIONAL_GROUPS+= gl PKG_OPTIONS_GROUP.gl+= rpi .endif -.if ${OPSYS} != "Darwin" PKG_OPTIONS_GROUP.gl+= opengl PKG_SUGGESTED_OPTIONS= freetype opengl -.else -PKG_SUGGESTED_OPTIONS= freetype -.endif PKG_SUGGESTED_OPTIONS.Linux+= alsa pulseaudio @@ -42,7 +38,9 @@ CONFIGURE_ARGS+= --disable-sixel # Use standard Mesa OpenGL .if !empty(PKG_OPTIONS:Mopengl) CONFIGURE_ARGS+= --enable-opengl -.include "../../graphics/MesaLib/buildlink3.mk" +.if ${OPSYS} != "Darwin" +. include "../../graphics/MesaLib/buildlink3.mk" +.endif # Enable use of the Raspberry Pi GPU driver .elif !empty(PKG_OPTIONS:Mrpi) @@ -56,7 +54,7 @@ SUBST_SED.vc+= -e 's;/opt/vc;${PREFIX};g' CONFIGURE_ARGS+= --enable-opengles # Disable any graphics acceleration library -.elif ${OPSYS} != "Darwin" +.else CONFIGURE_ARGS+= --disable-egl CONFIGURE_ARGS+= --disable-opengl CONFIGURE_ARGS+= --disable-opengl_core |