summaryrefslogtreecommitdiff
path: root/devel/libusb/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libusb/buildlink3.mk')
-rw-r--r--devel/libusb/buildlink3.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/libusb/buildlink3.mk b/devel/libusb/buildlink3.mk
new file mode 100644
index 00000000000..e2165c977cc
--- /dev/null
+++ b/devel/libusb/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/21 22:54:04 cube Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBUSB_BUILDLINK3_MK:= ${LIBUSB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libusb
+.endif
+
+.if !empty(LIBUSB_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libusb
+BUILDLINK_DEPENDS.libusb+= libusb>=0.1.7
+BUILDLINK_PKGSRCDIR.libusb?= ../../devel/libusb
+.endif # LIBUSB_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}