aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorEdward Kmett2014-11-28 23:27:27 -0500
committerMike McQuaid2014-11-30 17:03:49 +0000
commitf41ec8055ab0aa74b32f33f8db85726522b46a3d (patch)
treec1626fca6d1723bae4f49dd52cfe989995714067 /Library
parent6d39f28ea35d992a914838278b54abf48961293b (diff)
downloadhomebrew-f41ec8055ab0aa74b32f33f8db85726522b46a3d.tar.bz2
wxmac: --without-mediactrl on 64-bit machines.
Users of tools that fail when trying to link non-existent frameworks run into problems on 64-bit macs, because the old 32-bit QuickTime framework does not and never will exist as a 64 bit library. This has been submitted upstream and accepted into wxmac HEAD, however a released version is not yet available and won't be for quite some time. This patch lets us actually get code to compile without waiting 8 months for a release. Closes #34543. Closes #33366. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index 741929d6c..18e33fd9d 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -52,7 +52,10 @@ class Wxmac < Formula
"--enable-clipboard",
"--enable-webkit",
"--enable-svg",
- "--enable-mediactrl",
+ # On 64-bit, enabling mediactrl leads to wxconfig trying to pull
+ # in a non-existent 64 bit QuickTime framework. This is submitted
+ # upstream and will eventually be fixed, but for now...
+ MacOS.prefer_64_bit? ? "--disable-mediactrl" : "--enable-mediactrl",
"--enable-graphics_ctx",
"--enable-controls",
"--enable-dataviewctrl",