pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/libusb-compat



Module Name:    pkgsrc
Committed By:   khorben
Date:           Tue Jan 23 14:31:45 UTC 2018

Added Files:
        pkgsrc/devel/libusb-compat: buildlink3.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libusb-compat/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/libusb-compat/buildlink3.mk
diff -u /dev/null pkgsrc/devel/libusb-compat/buildlink3.mk:1.1
--- /dev/null   Tue Jan 23 14:31:45 2018
+++ pkgsrc/devel/libusb-compat/buildlink3.mk    Tue Jan 23 14:31:45 2018
@@ -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



Home | Main Index | Thread Index | Old Index