pkgsrc/security/mbedtls3/options.mk
wiz a901d8f49d security/mbedtls3: import mbedtls3-3.2.1
mbed TLS (formerly known as PolarSSL) makes it trivially easy for
developers to include cryptographic and SSL/TLS capabilities in
their (embedded) products, facilitating this functionality with a
minimal coding footprint.

This contains major version 3 of the library, which is not backwards
compatible to version 2.
2022-08-11 06:49:16 +00:00

14 lines
349 B
Makefile

# $NetBSD: options.mk,v 1.1 2022/08/11 06:49:16 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mbedtls3
PKG_SUPPORTED_OPTIONS= zlib
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mzlib)
. include "../../devel/zlib/buildlink3.mk"
CMAKE_ARGS+= -DENABLE_ZLIB_SUPPORT=ON
.else
CMAKE_ARGS+= -DENABLE_ZLIB_SUPPORT=OFF
.endif