summaryrefslogtreecommitdiff
path: root/devel/flex/buildlink3.mk
blob: 1a93889e98784bb4dc082fdae2753787ad8e29a9 (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.5 2006/07/08 23:10:42 jlam Exp $
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
FLEX_BUILDLINK3_MK:=	${FLEX_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	flex
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nflex}
BUILDLINK_PACKAGES+=	flex
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flex

.if !empty(FLEX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.flex+=	flex>=2.5.4a
BUILDLINK_PKGSRCDIR.flex?=	../../devel/flex
BUILDLINK_DEPMETHOD.flex?=	build
.endif	# FLEX_BUILDLINK3_MK

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