diff options
| author | Jason Roelofs | 2013-10-10 12:35:12 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-24 13:32:59 -0800 |
| commit | 55e901e76b17b0ac44f8a0a3e02b3c53834c449a (patch) | |
| tree | 62917e7ff827393a0e372aacf84c5a33a38fab1e /Library/Formula | |
| parent | e67773f074e19c6bb7f1be39dbe51001fc7b45c2 (diff) | |
| download | homebrew-55e901e76b17b0ac44f8a0a3e02b3c53834c449a.tar.bz2 | |
zeromq: optional libsodium dependency
Closes #23180.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/zeromq.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/zeromq.rb b/Library/Formula/zeromq.rb index c77af01a6..dca6ba770 100644 --- a/Library/Formula/zeromq.rb +++ b/Library/Formula/zeromq.rb @@ -19,6 +19,7 @@ class Zeromq < Formula depends_on 'pkg-config' => :build depends_on 'libpgm' if build.include? 'with-pgm' + depends_on 'libsodium' => :optional def install ENV.universal_binary if build.universal? @@ -31,6 +32,8 @@ class Zeromq < Formula args << "--with-system-pgm" end + args << "--with-libsodium" if build.with? 'libsodium' + system "./autogen.sh" if build.head? system "./configure", *args system "make" |
