summaryrefslogtreecommitdiff
path: root/security/ocaml-ssl/buildlink3.mk
blob: cb5f32a4cffa02883d645d55453b4f44db9c38bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.2 2008/01/18 05:09:39 tnn Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
OCAML_SSL_BUILDLINK3_MK:=	${OCAML_SSL_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	ocaml-ssl
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nocaml-ssl}
BUILDLINK_PACKAGES+=	ocaml-ssl
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ocaml-ssl

.if ${OCAML_SSL_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.ocaml-ssl+=	ocaml-ssl>=0.4.0
BUILDLINK_ABI_DEPENDS.ocaml-ssl?=	ocaml-ssl>=0.4.1nb1
BUILDLINK_PKGSRCDIR.ocaml-ssl?=	../../security/ocaml-ssl
.endif	# OCAML_SSL_BUILDLINK3_MK

.include "../../security/openssl/buildlink3.mk"

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH:S/+$//}