Fix libstfl installs only to /usr/local

Refs #13127.
This commit is contained in:
Max Howell committed 2012-09-03 10:23:51 -04:00
1 parent c65afccc13
commit e7edfa1e4e
1 file changed
+3 -5
+3 -5
View File
@@ -8,11 +8,9 @@ class Libstfl < Formula
def patches; DATA; end
def install
inreplace 'Makefile',
'export CC = gcc -pthread',
"export CC = #{ENV.cc} -pthread"
system "make install"
system "make", "install",
"CC=#{ENV.cc} -pthread",
"prefix=#{prefix}"
end
end