From 0571b7c1fd3589e062a57637be0581fbf1c9a444 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 21 Mar 2015 16:24:51 +0000 Subject: 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. --- security/gnupg2/options.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'security/gnupg2') 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 -- cgit v1.2.3