2006-11-05 17:55:28 +01:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.2 2006/11/05 16:55:28 joerg Exp $
|
|
|
|
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
|
|
|
|
.if ${X11_TYPE} != "modular"
|
|
|
|
.include "../../x11/Xrandr/buildlink3.mk"
|
|
|
|
.else
|
2006-11-03 22:22:58 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
|
|
LIBXRANDR_BUILDLINK3_MK:= ${LIBXRANDR_BUILDLINK3_MK}+
|
|
|
|
|
|
|
|
.if ${BUILDLINK_DEPTH} == "+"
|
|
|
|
BUILDLINK_DEPENDS+= libXrandr
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXrandr}
|
|
|
|
BUILDLINK_PACKAGES+= libXrandr
|
|
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXrandr
|
|
|
|
|
|
|
|
.if ${LIBXRANDR_BUILDLINK3_MK} == "+"
|
|
|
|
BUILDLINK_API_DEPENDS.libXrandr+= libXrandr>=1.1.2
|
|
|
|
BUILDLINK_PKGSRCDIR.libXrandr?= ../../x11/libXrandr
|
|
|
|
.endif # LIBXRANDR_BUILDLINK3_MK
|
|
|
|
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
|
|
.include "../../x11/randrproto/buildlink3.mk"
|
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
2006-11-05 17:55:28 +01:00
|
|
|
|
|
|
|
.endif
|