blob: f6dc506c82b361edc65158760c9711e3afb3c42e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: buildlink3.mk,v 1.40 2007/08/13 11:18:40 seb Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= MesaLib
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMesaLib}
BUILDLINK_PACKAGES+= MesaLib
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}MesaLib
.if !empty(MESALIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=3.4.2
BUILDLINK_ABI_DEPENDS.MesaLib+= MesaLib>=6.4.1nb1
BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib
.if !defined(BUILDING_MESA)
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY
.endif
BUILDLINK_TRANSFORM+= l:MesaGL:GL
.endif # MESALIB_BUILDLINK3_MK
.include "../../mk/bsd.fast.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-[12].*)
.include "../../devel/pthread-stublib/buildlink3.mk"
.endif
.include "../../x11/libXext/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|