diff options
| author | Houtan Bastani | 2013-04-24 17:11:43 +0200 |
|---|---|---|
| committer | Jack Nagel | 2013-04-26 18:36:55 -0500 |
| commit | e783e8bf0d9c475b967052120b4cb4d14f1d31ed (patch) | |
| tree | 7112068db8f355fe40717d4f84c458959df6dc8c /Library | |
| parent | 4d292a633f3ab80fd0ad2c349eb28c83d068fe9c (diff) | |
| download | homebrew-e783e8bf0d9c475b967052120b4cb4d14f1d31ed.tar.bz2 | |
libmatio: ensure build without hdf5 if not explicitly requested
Closes #19408.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libmatio.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Formula/libmatio.rb b/Library/Formula/libmatio.rb index 7b1cb881e..72ca870de 100644 --- a/Library/Formula/libmatio.rb +++ b/Library/Formula/libmatio.rb @@ -17,7 +17,12 @@ class Libmatio < Formula --with-zlib=/usr --enable-extended-sparse=yes ] - args << "--with-hdf5=#{HOMEBREW_PREFIX}" << "--enable-mat73=yes" if build.with? 'hdf5' + + if build.with? 'hdf5' + args << "--with-hdf5=#{HOMEBREW_PREFIX}" << "--enable-mat73=yes" + else + args << "--with-hdf5=no" + end system "./configure", *args system "make" |
