aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-05-26 22:32:14 -0500
committerJack Nagel2014-05-26 22:32:14 -0500
commite24d6bdf208674d233e2b8bfea4e79f27095bcd4 (patch)
treee8ffb7ff86cc6e957b10b6ed519d32b893726a2f /Library
parenta7290813cce3a9e0621a5f00b352ccea2e6660fd (diff)
downloadhomebrew-e24d6bdf208674d233e2b8bfea4e79f27095bcd4.tar.bz2
wxmac: don't use explicit sdk path argument on 10.9
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index c7d55af62..dece81337 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -57,13 +57,14 @@ class Wxmac < Formula
"--enable-dataviewctrl",
"--with-expat",
"--with-macosx-version-min=#{MacOS.version}",
- "--with-macosx-sdk=#{MacOS.sdk_path}",
"--enable-universal_binary=#{Hardware::CPU.universal_archs.join(',')}",
"--disable-precomp-headers",
# This is the default option, but be explicit
"--disable-monolithic"
]
+ args << "--with-macosx-sdk=#{MacOS.sdk_path}" unless MacOS.version >= "10.9"
+
system "./configure", *args
system "make install"
end