5ab01fe2a1
(e.g. NetBSD with bundled XFree86). Checking whether "X11_TYPE" is "xorg" is obsolete and *not* equivalent to checking whether we are not using modular X.org.
25 lines
724 B
Makefile
25 lines
724 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2008/01/07 13:59:36 tron Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
BUILDLINK_DEPMETHOD.xextproto?= build
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
XEXTPROTO_BUILDLINK3_MK:= ${XEXTPROTO_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= xextproto
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxextproto}
|
|
BUILDLINK_PACKAGES+= xextproto
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xextproto
|
|
|
|
.if !empty(XEXTPROTO_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0
|
|
BUILDLINK_PKGSRCDIR.xextproto?= ../../x11/xextproto
|
|
.endif # XEXTPROTO_BUILDLINK3_MK
|
|
|
|
.include "../../x11/inputproto/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|