summaryrefslogtreecommitdiff
path: root/x11/dri2proto/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/dri2proto/buildlink3.mk')
-rw-r--r--x11/dri2proto/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/dri2proto/buildlink3.mk b/x11/dri2proto/buildlink3.mk
new file mode 100644
index 00000000000..d307e84dd1b
--- /dev/null
+++ b/x11/dri2proto/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/09/05 03:32:53 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+DRI2PROTO_BUILDLINK3_MK:= ${DRI2PROTO_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= dri2proto
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndri2proto}
+BUILDLINK_PACKAGES+= dri2proto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dri2proto
+
+.if ${DRI2PROTO_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.dri2proto+= dri2proto>=1.1
+BUILDLINK_PKGSRCDIR.dri2proto?= ../../x11/dri2proto
+BUILDLINK_DEPMETHOD.dri2proto?= build
+.endif # DRI2PROTO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}