diff options
| author | Misty De Meo | 2014-07-07 13:47:22 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-07-07 15:26:50 -0700 |
| commit | 7a3422537cd3ef951d75861af7a7af15663846b7 (patch) | |
| tree | 5ceea908c523ac8c0f17663e68cc926822837c4c /Library/Formula | |
| parent | 390f55f375b433d5c59330b9af018bf64ae82537 (diff) | |
| download | homebrew-7a3422537cd3ef951d75861af7a7af15663846b7.tar.bz2 | |
chicken: fix build on CLT-only
Closes #30720.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chicken.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/chicken.rb b/Library/Formula/chicken.rb index 2643e9974..29314af4b 100644 --- a/Library/Formula/chicken.rb +++ b/Library/Formula/chicken.rb @@ -18,11 +18,10 @@ class Chicken < Formula # 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 - if MacOS::Xcode.installed? - args << "XCODE_DEVELOPER=#{MacOS::Xcode.prefix}" - args << "XCODE_TOOL_PATH=#{MacOS::Xcode.toolchain_path}/usr/bin" - end + # 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" system "make", *args system "make", "install", *args end |
