From e24d6bdf208674d233e2b8bfea4e79f27095bcd4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Mon, 26 May 2014 22:32:14 -0500 Subject: wxmac: don't use explicit sdk path argument on 10.9 --- Library/Formula/wxmac.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library') 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 -- cgit v1.2.3