summaryrefslogtreecommitdiff
path: root/x11/libXi/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/libXi/buildlink3.mk')
-rw-r--r--x11/libXi/buildlink3.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libXi/buildlink3.mk b/x11/libXi/buildlink3.mk
new file mode 100644
index 00000000000..df82ce5bb80
--- /dev/null
+++ b/x11/libXi/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 18:24:38 joerg Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBXI_BUILDLINK3_MK:= ${LIBXI_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libXi
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibXi}
+BUILDLINK_PACKAGES+= libXi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libXi
+
+.if ${LIBXI_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libXi+= libXi>=1.0.0
+BUILDLINK_PKGSRCDIR.libXi?= ../../x11/libXi
+.endif # LIBXI_BUILDLINK3_MK
+
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/xproto/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}