pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/gnupg2 Add default-off libusb option.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b5902bf1fac8
branches: trunk
changeset: 648856:b5902bf1fac8
user: wiz <wiz%pkgsrc.org@localhost>
date: Sat Mar 21 16:24:51 2015 +0000
description:
Add default-off libusb option.
If you enable this, scdaemon can use some USB Tokens without another
pcsc daemon.
>From Yasushi Oshima in PR 49760.
diffstat:
security/gnupg2/options.mk | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r fe5dfe1d06c2 -r b5902bf1fac8 security/gnupg2/options.mk
--- a/security/gnupg2/options.mk Sat Mar 21 16:18:20 2015 +0000
+++ b/security/gnupg2/options.mk Sat Mar 21 16:24:51 2015 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.7 2014/07/28 11:02:11 wiz Exp $
+# $NetBSD: options.mk,v 1.8 2015/03/21 16:24:51 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gnupg2
-PKG_SUPPORTED_OPTIONS= gnupg2-gpgsm
+PKG_SUPPORTED_OPTIONS= gnupg2-gpgsm libusb
PKG_SUGGESTED_OPTIONS= gnupg2-gpgsm
# remove after 2014Q3
@@ -27,3 +27,8 @@
PLIST_SRC+= ${.CURDIR}/PLIST.gpgsm
. include "../../security/dirmngr/buildlink3.mk"
.endif
+
+.if empty(PKG_OPTIONS:Mlibusb)
+USE_TOOLS+= pkg-config
+. include "../../devel/libusb/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index