diff options
| author | Adam Vandenberg | 2014-02-24 21:35:33 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:16 -0800 |
| commit | 0a8e233dd843d5d0903ed8e8bbd8592545290663 (patch) | |
| tree | 964514ef89196ce8995de6621013b98b2e70afa0 /Library/Formula | |
| parent | ce6e52a0f174e882ac3d2120705f35f5a7ccb3c0 (diff) | |
| download | homebrew-0a8e233dd843d5d0903ed8e8bbd8592545290663.tar.bz2 | |
freeling: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/freeling.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/freeling.rb b/Library/Formula/freeling.rb index b618f9d23..57d6e26a1 100644 --- a/Library/Formula/freeling.rb +++ b/Library/Formula/freeling.rb @@ -11,12 +11,12 @@ class Freeling < Formula depends_on 'libtool' => :build def install - icu4c_prefix = Formula.factory('icu4c').prefix - libtool_prefix = Formula.factory('libtool').prefix - ENV.append 'LDFLAGS', "-L#{libtool_prefix}/lib" - ENV.append 'LDFLAGS', "-L#{icu4c_prefix}/lib" - ENV.append 'CPPFLAGS', "-I#{libtool_prefix}/include" - ENV.append 'CPPFLAGS', "-I#{icu4c_prefix}/include" + icu4c = Formula['icu4c'] + libtool = Formula['libtool'] + ENV.append 'LDFLAGS', "-L#{libtool.lib}" + ENV.append 'LDFLAGS', "-L#{icu4c.lib}" + ENV.append 'CPPFLAGS', "-I#{libtool.include}" + ENV.append 'CPPFLAGS', "-I#{icu4c.include}" system "./configure", "--prefix=#{prefix}", "--enable-boost-locale" |
