diff options
| author | Jack Nagel | 2013-11-07 13:05:23 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-11-07 13:05:23 -0600 |
| commit | 2cca586b158b0a127d90f2e36502d33c3088c3cd (patch) | |
| tree | 3c720c8fafeca65ce8d55d7d157eee58b14c8042 /Library/Formula | |
| parent | 452f5c2f1fd030a0deedef43f1c493c7b3b4157a (diff) | |
| download | homebrew-2cca586b158b0a127d90f2e36502d33c3088c3cd.tar.bz2 | |
html-xml-utils: fix build with clang
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/html-xml-utils.rb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Library/Formula/html-xml-utils.rb b/Library/Formula/html-xml-utils.rb index 7a989af58..133f7703e 100644 --- a/Library/Formula/html-xml-utils.rb +++ b/Library/Formula/html-xml-utils.rb @@ -5,18 +5,9 @@ class HtmlXmlUtils < Formula url 'http://www.w3.org/Tools/HTML-XML-utils/html-xml-utils-6.4.tar.gz' sha1 '6dc6ace41a4c3f692f79b16107d50d0e80d0ee40' - fails_with :clang do - build 425 - cause <<-EOS.undent - Undefined symbols for architecture x86_64: - "_min", referenced from: - _write_index_item in hxindex.o - EOS - end - def install - system "./configure", "--disable-dependency-tracking", - "--prefix=#{prefix}" + ENV.append 'CFLAGS', '-std=gnu89' + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" ENV.j1 # install is not thread-safe system "make install" |
