summaryrefslogtreecommitdiff
path: root/emulators/ucon64
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2018-02-10 13:53:46 +0000
committerkhorben <khorben@pkgsrc.org>2018-02-10 13:53:46 +0000
commit8be8819156643b4539320837d436d225812cb9b3 (patch)
tree7af2c189305adbc0cb10601df238bfa5aee248d8 /emulators/ucon64
parent36b45b48dbb61284506c1f140a41aea3f6c32f7a (diff)
downloadpkgsrc-8be8819156643b4539320837d436d225812cb9b3.tar.gz
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.
Diffstat (limited to 'emulators/ucon64')
-rw-r--r--emulators/ucon64/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/ucon64/options.mk b/emulators/ucon64/options.mk
index 4cfda48f557..e9573c8c056 100644
--- a/emulators/ucon64/options.mk
+++ b/emulators/ucon64/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1.1.1 2005/07/26 04:12:22 tv Exp $
+# $NetBSD: options.mk,v 1.2 2018/02/10 13:53:48 khorben Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ucon64
PKG_SUPPORTED_OPTIONS= libusb
@@ -13,5 +13,5 @@ CONFIGURE_ARGS+= --with-libusb
CPPFLAGS+= -I${BUILDLINK_PREFIX.libusb}/include
LDFLAGS+= -L${BUILDLINK_PREFIX.libusb}/lib
LDFLAGS+= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.libusb}/lib
-. include "../../devel/libusb/buildlink3.mk"
+. include "../../mk/libusb.buildlink3.mk"
.endif