diff options
Diffstat (limited to 'Library/Formula/zeromq.rb')
| -rw-r--r-- | Library/Formula/zeromq.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/zeromq.rb b/Library/Formula/zeromq.rb index fab5b3b1c..f61ac862d 100644 --- a/Library/Formula/zeromq.rb +++ b/Library/Formula/zeromq.rb @@ -18,14 +18,14 @@ class Zeromq < Formula option 'with-pgm', 'Build with PGM extension' depends_on 'pkg-config' => :build - depends_on 'libpgm' if build.include? 'with-pgm' + depends_on 'libpgm' if build.with? "pgm" depends_on 'libsodium' => :optional def install ENV.universal_binary if build.universal? args = ["--disable-dependency-tracking", "--prefix=#{prefix}"] - if build.include? 'with-pgm' + if build.with? "pgm" # Use HB libpgm-5.2 because their internal 5.1 is b0rked. ENV['OpenPGM_CFLAGS'] = %x[pkg-config --cflags openpgm-5.2].chomp ENV['OpenPGM_LIBS'] = %x[pkg-config --libs openpgm-5.2].chomp |
