pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/emulators/retroarch



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Nov 14 10:30:43 UTC 2023

Modified Files:
        pkgsrc/emulators/retroarch: Makefile options.mk

Log Message:
retroarch: Optionize mbedtls.

Some supported platforms lack a C++ compiler and can't build cmake.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 pkgsrc/emulators/retroarch/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/emulators/retroarch/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/retroarch/Makefile
diff -u pkgsrc/emulators/retroarch/Makefile:1.64 pkgsrc/emulators/retroarch/Makefile:1.65
--- pkgsrc/emulators/retroarch/Makefile:1.64    Sun Nov 12 13:21:23 2023
+++ pkgsrc/emulators/retroarch/Makefile Tue Nov 14 10:30:43 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.64 2023/11/12 13:21:23 wiz Exp $
+# $NetBSD: Makefile,v 1.65 2023/11/14 10:30:43 nia Exp $
 
 PKGREVISION= 22
 .include "version.mk"
@@ -117,7 +117,6 @@ post-install:
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../devel/SDL2/buildlink3.mk"
 .include "../../net/miniupnpc/buildlink3.mk"
-.include "../../security/mbedtls/buildlink3.mk"
 .include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/emulators/retroarch/options.mk
diff -u pkgsrc/emulators/retroarch/options.mk:1.17 pkgsrc/emulators/retroarch/options.mk:1.18
--- pkgsrc/emulators/retroarch/options.mk:1.17  Tue Feb  2 12:05:48 2021
+++ pkgsrc/emulators/retroarch/options.mk       Tue Nov 14 10:30:43 2023
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.17 2021/02/02 12:05:48 ryoon Exp $
+# $NetBSD: options.mk,v 1.18 2023/11/14 10:30:43 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.retroarch
 
 PKG_SUPPORTED_OPTIONS+=                alsa jack openal pulseaudio
-PKG_SUPPORTED_OPTIONS+=                debug caca ffmpeg freetype sixel qt5
+PKG_SUPPORTED_OPTIONS+=                debug caca ffmpeg freetype mbedtls sixel qt5
 
 .include "../../mk/bsd.fast.prefs.mk"
 
@@ -14,7 +14,7 @@ PKG_OPTIONS_GROUP.gl+=                rpi
 .endif
 
 PKG_OPTIONS_GROUP.gl+=         opengl
-PKG_SUGGESTED_OPTIONS=         freetype opengl
+PKG_SUGGESTED_OPTIONS=         freetype opengl mbedtls
 
 PKG_SUGGESTED_OPTIONS.Linux+=  alsa pulseaudio
 
@@ -119,3 +119,10 @@ CONFIGURE_ARGS+=   --enable-caca
 .else
 CONFIGURE_ARGS+=       --disable-caca
 .endif
+
+.if !empty(PKG_OPTIONS:Mmbedtls)
+CONFIGURE_ARGS+=       --enable-ssl
+.include "../../security/mbedtls/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-ssl
+.endif



Home | Main Index | Thread Index | Old Index