summaryrefslogtreecommitdiff
path: root/audio/ladspa/buildlink3.mk
blob: 07355f23cc19a16e73d548de51998b304b53a36f (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.6 2006/05/01 18:02:11 rillig Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LADSPA_BUILDLINK3_MK:=	${LADSPA_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nladspa}
BUILDLINK_PACKAGES+=	ladspa

.if !empty(LADSPA_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+=			ladspa
BUILDLINK_API_DEPENDS.ladspa+=		ladspa>=1.12
BUILDLINK_ABI_DEPENDS.ladspa?=		ladspa>=1.12nb1
BUILDLINK_PKGSRCDIR.ladspa?=		../../audio/ladspa
.endif # LADSPA_BUILDLINK3_MK

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