diff options
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" |
