summaryrefslogtreecommitdiff
path: root/security/gnupg2
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2015-03-21 16:24:51 +0000
committerwiz <wiz@pkgsrc.org>2015-03-21 16:24:51 +0000
commit0571b7c1fd3589e062a57637be0581fbf1c9a444 (patch)
treeddeb95eb5f0423149c11079bcf3d4ed4c865da82 /security/gnupg2
parent47ba07bde9c1c126de9fca9156566b6e8ffbf2d8 (diff)
downloadpkgsrc-0571b7c1fd3589e062a57637be0581fbf1c9a444.tar.gz
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 (limited to 'security/gnupg2')
-rw-r--r--security/gnupg2/options.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/security/gnupg2/options.mk b/security/gnupg2/options.mk
index d7414978907..39b619f228b 100644
--- a/security/gnupg2/options.mk
+++ b/security/gnupg2/options.mk
@@ -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 @@ CONFIGURE_ARGS+= --with-dirmngr-pgm=${BUILDLINK_PREFIX.dirmngr}/bin/dirmngr
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