diff options
| author | Max Howell | 2012-09-03 10:23:51 -0400 |
|---|---|---|
| committer | Max Howell | 2012-09-03 10:23:51 -0400 |
| commit | e7edfa1e4e64b9aefc3ca519424e86d2a098cd08 (patch) | |
| tree | 0d136bff72766348cb56f5bfbb38d42a72c978f5 | |
| parent | c65afccc133d6ffac603934feb631eedb9359d98 (diff) | |
| download | homebrew-e7edfa1e4e64b9aefc3ca519424e86d2a098cd08.tar.bz2 | |
Fix libstfl installs only to /usr/local
Refs #13127.
| -rw-r--r-- | Library/Formula/libstfl.rb | 8 |
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 |
