aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/poco.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/poco.rb b/Library/Formula/poco.rb
index 6eec438b8..5f995f0bb 100644
--- a/Library/Formula/poco.rb
+++ b/Library/Formula/poco.rb
@@ -6,7 +6,8 @@ class Poco < Formula
sha1 '893b26bdd2adee36d489ce1412bf67d5035f5b47'
def install
- arch = Hardware.is_64_bit? ? 'Darwin64': 'Darwin'
+ arch = Hardware.is_64_bit? ? 'Darwin64': 'Darwin32'
+ arch << '-clang' if ENV.compiler == :clang
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
@@ -14,6 +15,6 @@ class Poco < Formula
"--omit=Data/MySQL,Data/ODBC",
"--no-samples",
"--no-tests"
- system "make install"
+ system "make install CC=#{ENV.cc} CXX=#{ENV.cxx}"
end
end