From 8be8819156643b4539320837d436d225812cb9b3 Mon Sep 17 00:00:00 2001 From: khorben Date: Sat, 10 Feb 2018 13:53:46 +0000 Subject: 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. --- misc/calibre/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc/calibre') diff --git a/misc/calibre/Makefile b/misc/calibre/Makefile index 5e48f383c66..02bedd9a139 100644 --- a/misc/calibre/Makefile +++ b/misc/calibre/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.193 2018/02/01 16:05:56 wiz Exp $ +# $NetBSD: Makefile,v 1.194 2018/02/10 13:53:48 khorben Exp $ DISTNAME= calibre-3.16.0 CATEGORIES= misc @@ -105,7 +105,7 @@ BUILDLINK_API_DEPENDS.chmlib+= chmlib>=0.40 BUILDLINK_API_DEPENDS.libmtp+= libmtp>=1.1.5 .include "../../devel/libmtp/buildlink3.mk" BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.12 -.include "../../devel/libusb/buildlink3.mk" +.include "../../mk/libusb.buildlink3.mk" .include "../../fonts/fontconfig/buildlink3.mk" BUILDLINK_API_DEPENDS.libwmf+= libwmf>=0.2.8 .include "../../graphics/libwmf/buildlink3.mk" -- cgit v1.2.3