pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libusb1 libusb1: avoid a linux-only dependency o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e2d589273750
branches:  trunk
changeset: 357579:e2d589273750
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon Jan 23 18:50:02 2017 +0000

description:
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.

diffstat:

 devel/libusb1/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 651bdaa93d65 -r e2d589273750 devel/libusb1/Makefile
--- a/devel/libusb1/Makefile    Mon Jan 23 18:23:48 2017 +0000
+++ b/devel/libusb1/Makefile    Mon Jan 23 18:50:02 2017 +0000
@@ -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 @@
 
 PKGCONFIG_OVERRIDE+=   libusb-1.0.pc.in
 
+# systemd dependency
+CONFIGURE_ARGS.Linux+= --disable-udev
+
 CONFIGURE_ARGS+=       --enable-tests-build
 #CONFIGURE_ARGS+=      --enable-examples-build
 



Home | Main Index | Thread Index | Old Index