aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChris Hoffman2010-06-10 03:14:59 -0500
committerAdam Vandenberg2010-06-10 07:57:21 -0700
commit64638516a683621ffe311551ddea82fe17b622e4 (patch)
tree07cd916e604aacee0dbc9f2ab4ad27b241f2882b /Library/Formula
parent3adb807c5df9d26c5743d2844fe120132c15e509 (diff)
downloadhomebrew-64638516a683621ffe311551ddea82fe17b622e4.tar.bz2
Make htmldoc compile correctly under 10.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/htmldoc.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/htmldoc.rb b/Library/Formula/htmldoc.rb
index cf395b1d3..c7361d743 100644
--- a/Library/Formula/htmldoc.rb
+++ b/Library/Formula/htmldoc.rb
@@ -4,10 +4,13 @@ class Htmldoc <Formula
url 'http://ftp.easysw.com/pub/htmldoc/1.8.27/htmldoc-1.8.27-source.tar.bz2'
homepage 'http://www.htmldoc.org'
md5 '35589e7b8fe9c54e11be87cd5aec4dcc'
-
+
def install
+ ENV.append_to_cflags "-I#{HOMEBREW_PREFIX}/include"
+
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--mandir=#{man}"
+ system "make"
system "make install"
end
end