summaryrefslogtreecommitdiff
path: root/devel/pcre-ocaml/buildlink3.mk
blob: b2ffa267d65b24ad042dc9cbab11c51fda4d05f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.1 2006/08/11 15:47:30 wiz Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PCRE_OCAML_BUILDLINK3_MK:=	${PCRE_OCAML_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npcre-ocaml}
BUILDLINK_PACKAGES+=	pcre-ocaml
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcre-ocaml

.if ${PCRE_OCAML_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.pcre-ocaml+=	pcre-ocaml>=5.10.3nb1
BUILDLINK_PKGSRCDIR.pcre-ocaml?=	../../devel/pcre-ocaml
.endif	# PCRE_OCAML_BUILDLINK3_MK

.include "../../devel/pcre/buildlink3.mk"

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