aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2012-09-03 10:23:51 -0400
committerMax Howell2012-09-03 10:23:51 -0400
commite7edfa1e4e64b9aefc3ca519424e86d2a098cd08 (patch)
tree0d136bff72766348cb56f5bfbb38d42a72c978f5 /Library/Formula
parentc65afccc133d6ffac603934feb631eedb9359d98 (diff)
downloadhomebrew-e7edfa1e4e64b9aefc3ca519424e86d2a098cd08.tar.bz2
Fix libstfl installs only to /usr/local
Refs #13127.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libstfl.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/libstfl.rb b/Library/Formula/libstfl.rb
index 2320b1f73..15603a56d 100644
--- a/Library/Formula/libstfl.rb
+++ b/Library/Formula/libstfl.rb
@@ -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