summaryrefslogtreecommitdiff
path: root/graphics/glew/buildlink3.mk
blob: fb0c88f0f34784ad274aa157604901253689d9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/08/15 15:21:27 abs Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
GLEW_BUILDLINK3_MK:=	${GLEW_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nglew}
BUILDLINK_PACKAGES+=	glew
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glew

.if !empty(GLEW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glew+=	glew>=1.3.4
BUILDLINK_ABI_DEPENDS.glew+=	glew>=1.3.4
BUILDLINK_PKGSRCDIR.glew?=	../../graphics/glew
.endif	# GLEW_BUILDLINK3_MK

.include "../../graphics/MesaLib/buildlink3.mk"

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