summaryrefslogtreecommitdiff
path: root/devel/flex/buildlink3.mk
blob: 12eac561bb8834c8a34479dc4c09131830e7b54f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 21:00:14 dmcmahill 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

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

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