aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2014-10-29 15:44:05 +0000
committerMike McQuaid2014-10-29 15:55:29 +0000
commite82781388f3bca303a428f69a137d0684a27d57e (patch)
tree55f41ff8815fb009c3e7b461a836c9423721e67d /Library/Formula
parenta5190c67a2aaa458fa24a1b3f86be8041df8f4fd (diff)
downloadhomebrew-e82781388f3bca303a428f69a137d0684a27d57e.tar.bz2
zeromq: make libsodium optional.
Otherwise `ntopng` has issues when linking against them statically. Closes #33697. Closes #33677.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/zeromq.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/zeromq.rb b/Library/Formula/zeromq.rb
index 3c80b4220..7420ff1cc 100644
--- a/Library/Formula/zeromq.rb
+++ b/Library/Formula/zeromq.rb
@@ -4,7 +4,7 @@ class Zeromq < Formula
homepage "http://www.zeromq.org/"
url "http://download.zeromq.org/zeromq-4.0.5.tar.gz"
sha1 "a664ec63661a848ef46114029156a0a6006feecd"
- revision 1
+ revision 2
bottle do
cellar :any
@@ -21,13 +21,12 @@ class Zeromq < Formula
depends_on :libtool
end
-
option :universal
option "with-pgm", "Build with PGM extension"
depends_on "pkg-config" => :build
depends_on "libpgm" if build.with? "pgm"
- depends_on "libsodium" => :recommended
+ depends_on "libsodium" => :optional
def install
ENV.universal_binary if build.universal?