pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/libfido2



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Dec  1 11:00:28 UTC 2023

Added Files:
        pkgsrc/security/libfido2: platform.mk

Log Message:
libfido2: Add a platform.mk to determine OS support in options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/libfido2/platform.mk

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

Added files:

Index: pkgsrc/security/libfido2/platform.mk
diff -u /dev/null pkgsrc/security/libfido2/platform.mk:1.1
--- /dev/null   Fri Dec  1 11:00:28 2023
+++ pkgsrc/security/libfido2/platform.mk        Fri Dec  1 11:00:28 2023
@@ -0,0 +1,21 @@
+# $NetBSD: platform.mk,v 1.1 2023/12/01 11:00:28 nia Exp $
+
+.if !defined(PLATFORM_SUPPORTS_FIDO2)
+.include "../../mk/bsd.fast.prefs.mk"
+
+FIDO2_PLATFORMS+=      Darwin-*-aarch64
+FIDO2_PLATFORMS+=      Darwin-*-x86_64
+FIDO2_PLATFORMS+=      FreeBSD-*-*
+FIDO2_PLATFORMS+=      MidnightBSD-*-*
+FIDO2_PLATFORMS+=      Linux-*-*
+FIDO2_PLATFORMS+=      NetBSD-*-*
+FIDO2_PLATFORMS+=      OpenBSD-*-*
+
+.for _fido2_platform in ${FIDO2_PLATFORMS}
+.  if !empty(MACHINE_PLATFORM:M${_fido2_platform})
+PLATFORM_SUPPORTS_FIDO2=       yes
+.  endif
+.endfor
+PLATFORM_SUPPORTS_FIDO2?=      no
+
+.endif # !defined(PLATFORM_SUPPORTS_FIDO2)



Home | Main Index | Thread Index | Old Index