Created attachment 177417 [details] Patch for the math/py-matplotlib port Makefile. The recent revision 426883 restricted matplotlib to Python 2.7 because it fails with Python 3. However, this is *only true* in the default configuration. When the gtk and gtkagg backends are disabled and the tkagg backend is enabled, matplotlib builds, installs and works fine with Python 3 (tested with Python 3.5) if I change `python:2.7` back to `python` in USES. The attached patch adds the correct python to USES after the options are processed. But the build fails for some reason that I do not understand. During `make PYTHON_VERSION=python3.5 build` it says that matplotlib depends on `tkinter>0`, which it says it cannot find even though py35-tkinter-3.5.2_6 is already installed. Probably this needs to done differently, but I don't see how.
The report seems to be a duplicate to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213636.
This is basically the same as https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213636. This can be closed in favor of 213636. *** This bug has been marked as a duplicate of bug 213636 ***