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.
23 lines
692 B
Makefile
23 lines
692 B
Makefile
# $NetBSD: buildlink3.mk,v 1.8 2008/01/07 13:59:36 tron Exp $
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
BUILDLINK_DEPMETHOD.randrproto?= build
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
RANDRPROTO_BUILDLINK3_MK:= ${RANDRPROTO_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= randrproto
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrandrproto}
|
|
BUILDLINK_PACKAGES+= randrproto
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}randrproto
|
|
|
|
.if !empty(RANDRPROTO_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.randrproto+= randrproto>=1.2.0
|
|
BUILDLINK_PKGSRCDIR.randrproto?= ../../x11/randrproto
|
|
.endif # RANDRPROTO_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|