neon: fix Formula[] usage

Fixes Homebrew/homebrew#27689
This commit is contained in:
Misty De Meo 2014-03-19 08:11:07 -07:00
parent afd0ad56c1
commit 765455a292

View file

@ -33,7 +33,7 @@ class Neon < Formula
"--with-ssl",
]
if build.with? 'brewed-openssl'
args << "--with-libs=#{Formula['openssl']/opt_prefix}"
args << "--with-libs=#{Formula['openssl'].opt_prefix}"
end
system "./configure", *args
system "make install"