aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/chicken.rb16
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/chicken.rb b/Library/Formula/chicken.rb
index 66361eb1f..b05d5fc8e 100644
--- a/Library/Formula/chicken.rb
+++ b/Library/Formula/chicken.rb
@@ -15,13 +15,15 @@ class Chicken < Formula
def install
ENV.deparallelize
- # Chicken uses a non-standard var. for this
- args = ["PREFIX=#{prefix}", "PLATFORM=macosx", "C_COMPILER=#{ENV.cc}"]
- args << "ARCH=x86-64" if MacOS.prefer_64_bit?
- # necessary to fix build on older Xcodes due to different path,
- # and to fix the build on CLT-only systems
- args << "XCODE_DEVELOPER=#{MacOS::Xcode.prefix}"
- args << "XCODE_TOOL_PATH=#{MacOS::Xcode.toolchain_path}/usr/bin"
+
+ args = %W[
+ PLATFORM=macosx
+ PREFIX=#{prefix}
+ C_COMPILER=#{ENV.cc}
+ LIBRARIAN=ar
+ POSTINSTALL_PROGRAM=install_name_tool
+ ]
+
system "make", *args
system "make", "install", *args
end