summaryrefslogtreecommitdiff
path: root/math/fftw2/buildlink3.mk
blob: f9f58fa3e4b4d9bec0c59ee1470ad49fb63e7d98 (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/07/08 22:39:26 jlam Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
FFTW2_BUILDLINK3_MK:=	${FFTW2_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nfftw2}
BUILDLINK_PACKAGES+=	fftw2
BUILDLINK_ORDER+=	fftw2

.if !empty(FFTW2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fftw2+=	fftw2>=2.1.3
BUILDLINK_ABI_DEPENDS.fftw2?=	fftw2>=2.1.5nb2
BUILDLINK_PKGSRCDIR.fftw2?=	../../math/fftw2
.endif	# FFTW2_BUILDLINK3_MK

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