tech-pkg archive

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

Re: CVS commit: pkgsrc/devel/libusb-compat



			Hi tech-pkg@,

I would welcome your comments about the following commit:

On 23/01/2018 15:31, Pierre Pronchery wrote:
> 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.

Can we do this, and if yes what would be the best way?

I thought I could use prior art from eg devel/pkg-config vs
devel/pkgconf, but it does not involve buildlink3.mk files like here. Is
there another place I could get inspiration from?

Cheers,
-- 
khorben



Home | Main Index | Thread Index | Old Index