Received: by mail.netbsd.org (Postfix, from userid 605) id C450884D64; Tue, 23 Jan 2018 14:31:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 4F53C84D60 for ; Tue, 23 Jan 2018 14:31:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id LFElcqe0MbxA for ; Tue, 23 Jan 2018 14:31:45 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id AD13884D32 for ; Tue, 23 Jan 2018 14:31:45 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A8573FBDE; Tue, 23 Jan 2018 14:31:45 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151671790584770" MIME-Version: 1.0 Date: Tue, 23 Jan 2018 14:31:45 +0000 From: "Pierre Pronchery" Subject: CVS commit: pkgsrc/devel/libusb-compat To: pkgsrc-changes@NetBSD.org Reply-To: khorben@netbsd.org X-Mailer: log_accum Message-Id: <20180123143145.A8573FBDE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151671790584770 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_151671790584770 Content-Disposition: inline Content-Length: 631 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_151671790584770--