diff options
| author | Jack Nagel | 2014-04-24 09:41:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-24 09:45:08 -0500 |
| commit | 2d0c339b8da337217062ed4d6bc4ffe844edccca (patch) | |
| tree | 5c66bbfc4f8505f01b512a8e2642f917944bdf0d /Library | |
| parent | 2173a37c393d28705ab6762b619b8d3e81630c44 (diff) | |
| download | homebrew-2d0c339b8da337217062ed4d6bc4ffe844edccca.tar.bz2 | |
Fix tree
This reverts changes that effectively reverted:
76de8c15ef406733feb08cc8bd35b16f97e60e9d
db306092699979cc966e7f7d5d4ab26c58645174
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/tree.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Library/Formula/tree.rb b/Library/Formula/tree.rb index 799d8fc68..c56dec922 100644 --- a/Library/Formula/tree.rb +++ b/Library/Formula/tree.rb @@ -13,13 +13,15 @@ class Tree < Formula end def install - ENV.append 'CFLAGS', '-fomit-frame-pointer', '-no-cpp-precomp' - inreplace 'Makefile' do |s| - s.change_make_var! "OBJS", "\\1 strverscmp.o" - s.change_make_var! "MANDIR", man1 - end + ENV.append 'CFLAGS', '-fomit-frame-pointer' + objs = 'tree.o unix.o html.o xml.o hash.o color.o strverscmp.o json.o' system "make", "prefix=#{prefix}", + "MANDIR=#{man1}", + "CC=#{ENV.cc}", + "CFLAGS=#{ENV.cflags}", + "LDFLAGS=#{ENV.ldflags}", + "OBJS=#{objs}", "install" end |
