pkgsrc/security/pkcs11-helper/buildlink3.mk
2021-09-29 19:00:02 +00:00

30 lines
901 B
Makefile

# $NetBSD: buildlink3.mk,v 1.24 2021/09/29 19:00:12 adam Exp $
BUILDLINK_TREE+= pkcs11-helper
.if !defined(PKCS11_HELPER_BUILDLINK3_MK)
PKCS11_HELPER_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.pkcs11-helper+= pkcs11-helper>=1.06
BUILDLINK_ABI_DEPENDS.pkcs11-helper+= pkcs11-helper>=1.27.0nb4
BUILDLINK_PKGSRCDIR.pkcs11-helper?= ../../security/pkcs11-helper
pkgbase := pkcs11-helper
.include "../../mk/pkg-build-options.mk"
.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mopenssl}
. include "../../security/openssl/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mgnutls}
. include "../../security/gnutls/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mmbedtls}
. include "../../security/mbedtls/buildlink3.mk"
.endif
.if ${PKG_BUILD_OPTIONS.pkcs11-helper:Mnss}
. include "../../devel/nss/buildlink3.mk"
.endif
.endif # PKCS11_HELPER_BUILDLINK3_MK
BUILDLINK_TREE+= -pkcs11-helper