diff options
author | khorben <khorben@pkgsrc.org> | 2018-02-10 13:53:46 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2018-02-10 13:53:46 +0000 |
commit | 8be8819156643b4539320837d436d225812cb9b3 (patch) | |
tree | 7af2c189305adbc0cb10601df238bfa5aee248d8 /comms/obexftp | |
parent | 36b45b48dbb61284506c1f140a41aea3f6c32f7a (diff) | |
download | pkgsrc-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 'comms/obexftp')
-rw-r--r-- | comms/obexftp/Makefile | 4 | ||||
-rw-r--r-- | comms/obexftp/buildlink3.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/comms/obexftp/Makefile b/comms/obexftp/Makefile index 4b1ec1b9d98..06caf38459f 100644 --- a/comms/obexftp/Makefile +++ b/comms/obexftp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2017/09/03 08:36:51 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2018/02/10 13:53:47 khorben Exp $ # DISTNAME= obexftp-0.24-Source @@ -26,6 +26,6 @@ BUILD_TARGET= all doc .include "../../comms/openobex/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" -.include "../../devel/libusb/buildlink3.mk" +.include "../../mk/libusb.buildlink3.mk" .include "../../devel/swig/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/comms/obexftp/buildlink3.mk b/comms/obexftp/buildlink3.mk index 505b26f385e..e8190420c0f 100644 --- a/comms/obexftp/buildlink3.mk +++ b/comms/obexftp/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2013/03/15 08:18:43 plunky Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2018/02/10 13:53:47 khorben Exp $ BUILDLINK_TREE+= obexftp @@ -10,7 +10,7 @@ BUILDLINK_PKGSRCDIR.obexftp?= ../../comms/obexftp .include "../../comms/openobex/buildlink3.mk" .include "../../converters/libiconv/buildlink3.mk" -.include "../../devel/libusb/buildlink3.mk" +.include "../../mk/libusb.buildlink3.mk" .endif # OBEXFTP_BUILDLINK3_MK BUILDLINK_TREE+= -obexftp |