summaryrefslogtreecommitdiff
path: root/homebrew/jack/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/jack/.make.sh-auto')
-rw-r--r--homebrew/jack/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/jack/.make.sh-auto b/homebrew/jack/.make.sh-auto
new file mode 100644
index 000000000..f9fdf3ebb
--- /dev/null
+++ b/homebrew/jack/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+sdk = MacOS.sdk_path_if_needed ? MacOS.sdk_path : ""
+inreplace Dir["drivers/coreaudio/Makefile.{am,in}"], "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h", "#{sdk}/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h"
+inreplace "configure", "-mmacosx-version-min=10.4", "-mmacosx-version-min=#{MacOS.version}"
+ENV["LINKFLAGS"] = ENV.ldflags
+pkg:configure
+make DESTDIR=${PKG_DEST} install