12a974e2e1
Checking whether "X11_TYPE" is "xorg" is obsolete and *not* equivalent to checking whether we are not using modular X.org.
25 lines
711 B
Makefile
25 lines
711 B
Makefile
# $NetBSD: buildlink3.mk,v 1.9 2008/02/14 20:01:44 tron Exp $
|
|
#
|
|
# This Makefile fragment is included by packages that use xproto.
|
|
#
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
XPROTO_BUILDLINK3_MK:= ${XPROTO_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= xproto
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxproto}
|
|
BUILDLINK_PACKAGES+= xproto
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xproto
|
|
|
|
.if !empty(XPROTO_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.xproto?= xproto>=7.0.9
|
|
BUILDLINK_PKGSRCDIR.xproto?= ../../x11/xproto
|
|
BUILDLINK_DEPMETHOD.xproto?= build
|
|
.endif # XPROTO_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|