summaryrefslogtreecommitdiff
path: root/databases/mongo-c-driver/buildlink3.mk
blob: b0ec5c5064ca22e27689988dec315df39e4eb04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $NetBSD: buildlink3.mk,v 1.16 2022/04/18 19:09:43 adam Exp $

BUILDLINK_TREE+=	mongo-c-driver

.if !defined(MONGO_C_DRIVER_BUILDLINK3_MK)
MONGO_C_DRIVER_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.mongo-c-driver+=	mongo-c-driver>=1.14.0
BUILDLINK_ABI_DEPENDS.mongo-c-driver+=	mongo-c-driver>=1.17.7nb2
BUILDLINK_PKGSRCDIR.mongo-c-driver?=	../../databases/mongo-c-driver

pkgbase := mongo-c-driver
.include "../../mk/pkg-build-options.mk"

.if ${PKG_BUILD_OPTIONS.mongo-c-driver:Msasl}
.  include "../../security/cyrus-sasl/buildlink3.mk"
.endif

.if ${PKG_BUILD_OPTIONS.mongo-c-driver:Mssl}
.  include "../../security/openssl/buildlink3.mk"
.endif

.include "../../devel/snappy/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/icu/buildlink3.mk"
.endif	# MONGO_C_DRIVER_BUILDLINK3_MK

BUILDLINK_TREE+=	-mongo-c-driver