From c3dd265ae07cb6157341cf950fe9ef2314dc7e06 Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 12 Feb 2015 19:00:25 +0000 Subject: [PATCH] wxmac: add option to build with STL classes Closes Homebrew/homebrew#36769. Signed-off-by: Jack Nagel --- Formula/wxmac.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/wxmac.rb b/Formula/wxmac.rb index e8225c2a52..aa30c0022a 100644 --- a/Formula/wxmac.rb +++ b/Formula/wxmac.rb @@ -16,6 +16,8 @@ class Wxmac < Formula depends_on "libpng" depends_on "libtiff" + option "with-stl", "use standard C++ classes for everything" + # Various fixes related to Yosemite. Revisit in next stable release. # Please keep an eye on http://trac.wxwidgets.org/ticket/16329 as well # Theoretically the above linked patch should still be needed, but it isn't. Try to find out why. @@ -67,6 +69,8 @@ class Wxmac < Formula "--disable-monolithic" ] + args << "--enable-stl" if build.with? "stl" + system "./configure", *args system "make", "install" end