| @@ -1,31 +1,25 @@ | | | @@ -1,31 +1,25 @@ |
1 | # $NetBSD: buildlink3.mk,v 1.8 2008/01/06 00:08:30 rillig Exp $ | | 1 | # $NetBSD: buildlink3.mk,v 1.9 2008/02/14 20:01:44 tron Exp $ |
2 | # | | 2 | # |
3 | # This Makefile fragment is included by packages that use xproto. | | 3 | # This Makefile fragment is included by packages that use xproto. |
4 | # | | 4 | # |
5 | | | 5 | |
6 | .include "../../mk/bsd.fast.prefs.mk" | | 6 | .include "../../mk/bsd.fast.prefs.mk" |
7 | | | 7 | |
8 | .if ${X11_TYPE} != "modular" | | | |
9 | .include "../../mk/x11.buildlink3.mk" | | | |
10 | .else | | | |
11 | | | | |
12 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ | | 8 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ |
13 | XPROTO_BUILDLINK3_MK:= ${XPROTO_BUILDLINK3_MK}+ | | 9 | XPROTO_BUILDLINK3_MK:= ${XPROTO_BUILDLINK3_MK}+ |
14 | | | 10 | |
15 | .if !empty(BUILDLINK_DEPTH:M+) | | 11 | .if !empty(BUILDLINK_DEPTH:M+) |
16 | BUILDLINK_DEPENDS+= xproto | | 12 | BUILDLINK_DEPENDS+= xproto |
17 | .endif | | 13 | .endif |
18 | | | 14 | |
19 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxproto} | | 15 | BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxproto} |
20 | BUILDLINK_PACKAGES+= xproto | | 16 | BUILDLINK_PACKAGES+= xproto |
21 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xproto | | 17 | BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xproto |
22 | | | 18 | |
23 | .if !empty(XPROTO_BUILDLINK3_MK:M+) | | 19 | .if !empty(XPROTO_BUILDLINK3_MK:M+) |
24 | BUILDLINK_API_DEPENDS.xproto?= xproto>=7.0.9 | | 20 | BUILDLINK_API_DEPENDS.xproto?= xproto>=7.0.9 |
25 | BUILDLINK_PKGSRCDIR.xproto?= ../../x11/xproto | | 21 | BUILDLINK_PKGSRCDIR.xproto?= ../../x11/xproto |
26 | BUILDLINK_DEPMETHOD.xproto?= build | | 22 | BUILDLINK_DEPMETHOD.xproto?= build |
27 | .endif # XPROTO_BUILDLINK3_MK | | 23 | .endif # XPROTO_BUILDLINK3_MK |
28 | | | 24 | |
29 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} | | 25 | BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |
30 | | | | |
31 | .endif | | | |