Subject: CVS commit: pkgsrc
From: Pierre Pronchery
Date: 2018-02-10 14:53:49
Message id: 20180210135349.8A176FB40@cvs.NetBSD.org

Log Message:
Import global switch for libusb's implementation [2/2]

This switch is meant to be used by packages requiring an implementation of the
former libusb (as in devel/libusb). The original implementation can be
chosen by setting LIBUSB_TYPE to "native".

The alternative implementation libusb-compat (as in devel/libusb-compat) wraps
libusb1 (in devel/libusb1). This implementation can be chosen by setting
LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not \ 
requiring root
privileges to locate and use USB devices without a kernel driver.

This second part switches packages using libusb to this framework. It does not
change compilation options or dependencies at this point.

Compile-tested on most packages affected and available on NetBSD/amd64.

Files:
RevisionActionfile
1.16modifypkgsrc/audio/ifp-line/Makefile
1.5modifypkgsrc/audio/libifp/Makefile
1.3modifypkgsrc/audio/libifp/buildlink3.mk
1.25modifypkgsrc/audio/rioutil/Makefile
1.3modifypkgsrc/comms/libticables2/buildlink3.mk
1.2modifypkgsrc/comms/libticables2/options.mk
1.6modifypkgsrc/comms/lirc/Makefile
1.21modifypkgsrc/comms/obexftp/Makefile
1.4modifypkgsrc/comms/obexftp/buildlink3.mk
1.32modifypkgsrc/comms/openobex/Makefile
1.15modifypkgsrc/comms/openobex/buildlink3.mk
1.43modifypkgsrc/cross/avrdude/Makefile
1.5modifypkgsrc/cross/dfu-programmer/Makefile
1.27modifypkgsrc/devel/SDL2/Makefile
1.7modifypkgsrc/devel/libftdi/Makefile
1.2modifypkgsrc/devel/libftdi/buildlink3.mk
1.22modifypkgsrc/devel/libftdi1/Makefile
1.3modifypkgsrc/devel/libftdi1/buildlink3.mk
1.67modifypkgsrc/devel/libgphoto2/Makefile
1.21modifypkgsrc/devel/libgphoto2/buildlink3.mk
1.10modifypkgsrc/devel/libhid/Makefile
1.2modifypkgsrc/devel/libnfc/Makefile
1.2modifypkgsrc/devel/libnfc/buildlink3.mk
1.7modifypkgsrc/devel/libnjb/Makefile
1.3modifypkgsrc/devel/libnjb/buildlink3.mk
1.2modifypkgsrc/devel/openocd/options.mk
1.15modifypkgsrc/devel/py-usb/Makefile
1.55modifypkgsrc/emulators/snes9x/Makefile
1.2modifypkgsrc/emulators/ucon64/options.mk
1.5modifypkgsrc/geography/garmintools/Makefile
1.17modifypkgsrc/geography/gpsbabel/Makefile
1.4modifypkgsrc/geography/qlandkartegt-garmindev/Makefile
1.18modifypkgsrc/graphics/s10sh/Makefile
1.194modifypkgsrc/misc/calibre/Makefile
1.11modifypkgsrc/misc/urjtag/Makefile
1.4modifypkgsrc/security/openct/buildlink3.mk
1.2modifypkgsrc/security/openct/options.mk
1.6modifypkgsrc/sysutils/ups-nut-usb/Makefile
1.66modifypkgsrc/x11/kde-workspace4/Makefile