diff options
author | khorben <khorben@pkgsrc.org> | 2018-01-23 14:31:45 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2018-01-23 14:31:45 +0000 |
commit | 26e83d8535d57f5491e58b11eb1829f645bea417 (patch) | |
tree | 3877971f353ea79199603af97923e56b89fbeaa4 /devel | |
parent | ae1aea8f5671bcf1fde799fcc814b79dfc118a49 (diff) | |
download | pkgsrc-26e83d8535d57f5491e58b11eb1829f645bea417.tar.gz |
Import buildlink3.mk file for devel/libusb-compat
libusb-compat is an API wrapper, emulating devel/libusb through the newer
code from devel/libusb1. On NetBSD, this has multiple advantages, such as
not requiring root privileges when accessing ugen(4) USB devices. We should
therefore consider to default to devel/libusb-compat instead of
devel/libusb on NetBSD at the very least.
Tested with devel/libftdi on NetBSD/amd64.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/libusb-compat/buildlink3.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libusb-compat/buildlink3.mk b/devel/libusb-compat/buildlink3.mk new file mode 100644 index 00000000000..de9c59fb88c --- /dev/null +++ b/devel/libusb-compat/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/01/23 14:31:45 khorben Exp $ + +BUILDLINK_TREE+= libusb-compat + +.if !defined(LIBUSB_COMPAT_BUILDLINK3_MK) +LIBUSB_COMPAT_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libusb-compat+= libusb-compat>=0.1.6rc2 +BUILDLINK_PKGSRCDIR.libusb-compat?= ../../devel/libusb-compat + +.endif # LIBUSB_COMPAT_BUILDLINK3_MK + +BUILDLINK_TREE+= -libusb-compat |