diff options
author | wiz <wiz@pkgsrc.org> | 2015-03-21 16:24:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2015-03-21 16:24:51 +0000 |
commit | 0571b7c1fd3589e062a57637be0581fbf1c9a444 (patch) | |
tree | ddeb95eb5f0423149c11079bcf3d4ed4c865da82 /security/gnupg2 | |
parent | 47ba07bde9c1c126de9fca9156566b6e8ffbf2d8 (diff) | |
download | pkgsrc-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.mk | 9 |
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 |