openvpn: update pkcs11-helper optional dependency

pass options to pkcs11-helper dependency in order to have proper support for pkcs11

Closes Homebrew/homebrew#47757.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
Xavier Payn 2016-01-06 10:53:38 +01:00 committed by Dominyk Tiller
parent f3532f8cd4
commit 40f5e0ddeb

View file

@ -15,7 +15,7 @@ class Openvpn < Formula
depends_on "lzo"
depends_on :tuntap if MacOS.version < :yosemite
depends_on "openssl"
depends_on "pkcs11-helper" => :optional
depends_on "pkcs11-helper" => [:optional, "without-threading", "without-slotevent"]
if build.with? "pkcs11-helper"
depends_on "pkg-config" => :build