pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libusb1



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Apr  3 20:32:57 UTC 2020

Modified Files:
        pkgsrc/devel/libusb1: Makefile
Added Files:
        pkgsrc/devel/libusb1: options.mk

Log Message:
libusb1: Add a debug option.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/libusb1/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libusb1/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/libusb1/Makefile
diff -u pkgsrc/devel/libusb1/Makefile:1.23 pkgsrc/devel/libusb1/Makefile:1.24
--- pkgsrc/devel/libusb1/Makefile:1.23  Fri Apr  3 20:05:41 2020
+++ pkgsrc/devel/libusb1/Makefile       Fri Apr  3 20:32:57 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2020/04/03 20:05:41 nia Exp $
+# $NetBSD: Makefile,v 1.24 2020/04/03 20:32:57 nia Exp $
 
 DISTNAME=      libusb-1.0.23
 PKGNAME=       ${DISTNAME:S/libusb/libusb1/}
@@ -44,5 +44,6 @@ CONFLICTS=    libusbx-[0-9]*
 do-test:
        cd ${WRKSRC}/tests && ./stress
 
+.include "options.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Added files:

Index: pkgsrc/devel/libusb1/options.mk
diff -u /dev/null pkgsrc/devel/libusb1/options.mk:1.1
--- /dev/null   Fri Apr  3 20:32:57 2020
+++ pkgsrc/devel/libusb1/options.mk     Fri Apr  3 20:32:57 2020
@@ -0,0 +1,10 @@
+# $NetBSD: options.mk,v 1.1 2020/04/03 20:32:57 nia Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.libusb1
+PKG_SUPPORTED_OPTIONS=         debug
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+=       --enable-debug-log
+.endif



Home | Main Index | Thread Index | Old Index