From c36f79c79a7ba49c396e9957b5ca167edfd78363 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sun, 2 Sep 2012 11:21:07 -0400 Subject: [PATCH] bsdmake is *not* provided by Xcode/CLT Fixes Homebrew/homebrew#14626. Also make proctools install do prefixes other than /usr/local. --- Library/ENV/4.3/make | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Library/ENV/4.3/make b/Library/ENV/4.3/make index 7e5196e6ae..5ec9dceb1c 100755 --- a/Library/ENV/4.3/make +++ b/Library/ENV/4.3/make @@ -1,3 +1,8 @@ #!/bin/sh export HOMEBREW_CCCFG="O$HOMEBREW_CCCFG" -exec xcrun make "$@" +if [ $(basename "$0") == "bsdmake" ]; then + pwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + exec "$pwd/../../../bin/bsdmake" "$@" +else + exec xcrun make "$@" +fi