From b85024a8fb68e690261bc2ce302280f6d9decae0 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 31 Jan 2013 18:29:11 -0600 Subject: libmatio: use optional dep --- Library/Formula/libmatio.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3