Skip to content

Commit

Permalink
html-xml-utils: fix build with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Nov 7, 2013
1 parent 452f5c2 commit 2cca586
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Library/Formula/html-xml-utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2cca586

Please sign in to comment.