pkgsrc/x11/renderproto/buildlink3.mk
tron 5ab01fe2a1 Unbreak build of a lot of X11 packages on systems which use native X11
(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.
2008-01-07 13:59:35 +00:00

22 lines
701 B
Makefile

# $NetBSD: buildlink3.mk,v 1.8 2008/01/07 13:59:36 tron Exp $
.include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RENDERPROTO_BUILDLINK3_MK:= ${RENDERPROTO_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= renderproto
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrenderproto}
BUILDLINK_PACKAGES+= renderproto
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}renderproto
.if !empty(RENDERPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.9.1
BUILDLINK_PKGSRCDIR.renderproto?= ../../x11/renderproto
BUILDLINK_DEPMETHOD.renderproto?= build
.endif # RENDERPROTO_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}