diff options
| author | Jack Nagel | 2014-04-06 21:26:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-06 21:26:56 -0500 |
| commit | 97dd4ed3d7dff9c73605a3cbbbd2eb4f40f3cd05 (patch) | |
| tree | 8c30d4d599bd94ca6e56c49d983f9e1576a0dca4 /Library/Formula | |
| parent | f9c12c6f263668ac8dc1afbc4c9be13661840158 (diff) | |
| download | homebrew-97dd4ed3d7dff9c73605a3cbbbd2eb4f40f3cd05.tar.bz2 | |
sqsh: use Formula[]
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sqsh.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/sqsh.rb b/Library/Formula/sqsh.rb index 4602787f4..b17ccc99f 100644 --- a/Library/Formula/sqsh.rb +++ b/Library/Formula/sqsh.rb @@ -18,8 +18,9 @@ class Sqsh < Formula --with-readline ] - ENV['LIBDIRS'] = Readline.new('readline').lib - ENV['INCDIRS'] = Readline.new('readline').include + readline = Formula["readline"] + ENV['LIBDIRS'] = readline.opt_lib + ENV['INCDIRS'] = readline.opt_include if build.include? "enable-x" args << "--with-x" @@ -27,7 +28,7 @@ class Sqsh < Formula args << "--x-includes=#{MacOS::X11.include}" end - ENV['SYBASE'] = Freetds.new("freetds").prefix + ENV['SYBASE'] = Formula["freetds"].opt_prefix system "./configure", *args system "make", "install" system "make", "install.man" |
