summaryrefslogtreecommitdiff
path: root/graphics/jpeg/buildlink3.mk
blob: b20cffbde609378a1779148aac2b5a766fd7bd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink3.mk,v 1.6 2004/10/03 00:14:54 tv Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
JPEG_BUILDLINK3_MK:=	${JPEG_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Njpeg}
BUILDLINK_PACKAGES+=	jpeg

.if !empty(JPEG_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.jpeg+=	jpeg>=6b
BUILDLINK_RECOMMENDED.jpeg+=	jpeg>=6bnb2
BUILDLINK_PKGSRCDIR.jpeg?=	../../graphics/jpeg
.endif	# JPEG_BUILDLINK3_MK

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