blob: 1537467a02317c414aed648551172cc4d6e7d1f5 (
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
|
# $NetBSD: buildlink3.mk,v 1.5 2007/12/16 23:38:12 tron Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} != "modular" && !exists(${X11BASE}/lib/pkgconfig/xext.pc)
.include "../../mk/x11.buildlink3.mk"
.else
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXEXT_BUILDLINK3_MK:= ${LIBXEXT_BUILDLINK3_MK}+
.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+= libXext
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXext}
BUILDLINK_PACKAGES+= libXext
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXext
.if ${LIBXEXT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libXext+= libXext>=0.99.0
BUILDLINK_PKGSRCDIR.libXext?= ../../x11/libXext
.endif # LIBXEXT_BUILDLINK3_MK
.include "../../x11/libX11/buildlink3.mk"
# XXX don't include xextproto/bl3 here; packages checking for xext.pc must
# include it theirselfes
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
.endif
|