aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSamuel John2012-12-11 14:48:18 +0100
committerCharlie Sharpsteen2012-12-11 08:38:33 -0800
commit9e4d2ca3edc6ed741fc29e47677831cd1ef42a7e (patch)
tree6c76238582d4ae7e619f266535bd1b46e910728d /Library
parent81934ef9256ca49c2b754efaa9c13c534722a629 (diff)
downloadhomebrew-9e4d2ca3edc6ed741fc29e47677831cd1ef42a7e.tar.bz2
wxmac: Multiversion support.
Some popular python packages expect to "import wxversion", which is only available on a multiversion build. A multiversion of wxPython should have no negative side effects. A usual `import wx` still works. Closes #16515. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index ea984de09..7947416d6 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -27,8 +27,9 @@ class Wxmac < Formula
"WX_CONFIG=#{bin}/wx-config",
# At this time Wxmac is installed Unicode only
"UNICODE=1",
- # And thus we have no need for multiversion support
- "INSTALL_MULTIVERSION=0",
+ # Some scripts (e.g. matplotlib) expect to `import wxversion`, which is
+ # only available on a multiversion build. Besides that `import wx` still works.
+ "INSTALL_MULTIVERSION=1",
# OpenGL and stuff
"BUILD_GLCANVAS=1",
"BUILD_GIZMOS=1",