libusb1: avoid a linux-only dependency on udev. this may harm linux

functionality, but udev is part of systemd. I don't expect pkgsrc systemd
support to be improved any time soon, and this package is unnecessarily
failing on linux, and taking out 90 other packages depending on it.
This commit is contained in:
maya 2017-01-23 18:50:02 +00:00
parent e13593f438
commit 2b8de0d96f

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2016/04/09 08:18:58 richard Exp $
# $NetBSD: Makefile,v 1.14 2017/01/23 18:50:02 maya Exp $
DISTNAME= libusb-1.0.20
PKGNAME= ${DISTNAME:S/libusb/libusb1/}
@ -23,6 +23,9 @@ MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= libusb-1.0.pc.in
# systemd dependency
CONFIGURE_ARGS.Linux+= --disable-udev
CONFIGURE_ARGS+= --enable-tests-build
#CONFIGURE_ARGS+= --enable-examples-build