pkgsrc/x11/fixesproto/buildlink3.mk
joerg 5e43280b23 Replace mk/bsd.prefs.mk includes with bsd.fast.prefs.mk includes.
The redundant parsing of bsd.prefs.mk is mostly avoided now and
parse time e.g. for x11/kdebase3 gets reduced by up to 10%.
2006-12-12 21:52:34 +00:00

33 lines
861 B
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2006/12/12 21:52:37 joerg Exp $
.include "../../mk/bsd.fast.prefs.mk"
.if ${X11_TYPE} == "xorg"
.include "../../mk/x11.buildlink3.mk"
.else
BUILDLINK_DEPMETHOD.fixesproto?= build
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FIXESPROTO_BUILDLINK3_MK:= ${FIXESPROTO_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= fixesproto
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfixesproto}
BUILDLINK_PACKAGES+= fixesproto
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fixesproto
.if !empty(FIXESPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fixesproto+= fixesproto>=3.0.0
BUILDLINK_PKGSRCDIR.fixesproto?= ../../x11/fixesproto
.endif # FIXESPROTO_BUILDLINK3_MK
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
.endif