diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libmatio.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/libmatio.rb b/Library/Formula/libmatio.rb index 7415ea4db..94957d8d7 100644 --- a/Library/Formula/libmatio.rb +++ b/Library/Formula/libmatio.rb @@ -7,7 +7,7 @@ class Libmatio < Formula option 'with-hdf5', 'Enable support for newer MAT files that use the HDF5-format' - depends_on 'hdf5' if build.include? 'with-hdf5' + depends_on 'hdf5' => :optional def install args = %W[ @@ -15,7 +15,7 @@ class Libmatio < Formula --with-zlib=/usr --enable-extended-sparse=yes ] - args << "--with-hdf5=#{HOMEBREW_PREFIX}" if build.include? 'with-hdf5' + args << "--with-hdf5=#{HOMEBREW_PREFIX}" if build.with? 'hdf5' system "./configure", *args system "make" |
