pkgsrc/security/mbedtls1/buildlink3.mk
fhajny 8da3ce9bdd Import mbedtls-1.3.16 as security/mbedtls1.
This is based on security/mbedtls and only meant for compatibility
with software that doesn't support mbedtls>=2 yet (mainly requires
the PolarSSL compatibility layer).
2016-06-16 09:21:11 +00:00

20 lines
470 B
Makefile

# $NetBSD: buildlink3.mk,v 1.1 2016/06/16 09:21:11 fhajny Exp $
BUILDLINK_TREE+= mbedtls
.if !defined(MBEDTLS_BUILDLINK3_MK)
MBEDTLS_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.mbedtls+= mbedtls>=0.10.0<2
BUILDLINK_PKGSRCDIR.mbedtls?= ../../security/mbedtls1
pkgbase := mbedtls
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.mbedtls:Mzlib)
.include "../../devel/zlib/buildlink3.mk"
.endif
.endif # MBEDTLS_BUILDLINK3_MK
BUILDLINK_TREE+= -mbedtls