From efc5d97a0067db027c22f72518340fd39147a3c9 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Mon, 3 Sep 2012 10:23:51 -0400 Subject: [PATCH] Fix libstfl installs only to /usr/local Refs Homebrew/homebrew#13127. --- Formula/libstfl.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Formula/libstfl.rb b/Formula/libstfl.rb index 2320b1f73e..15603a56d8 100644 --- a/Formula/libstfl.rb +++ b/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