diff options
| author | Jack Nagel | 2013-01-31 18:29:11 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-31 18:29:11 -0600 |
| commit | b85024a8fb68e690261bc2ce302280f6d9decae0 (patch) | |
| tree | cc6ecbc3fa7c0efa8323812d13e45154acf9bc1b /Library/Formula/libmatio.rb | |
| parent | 2da6a6d28870d28668f16e36b1879229df59bff4 (diff) | |
| download | homebrew-b85024a8fb68e690261bc2ce302280f6d9decae0.tar.bz2 | |
libmatio: use optional dep
Diffstat (limited to 'Library/Formula/libmatio.rb')
| -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" |
