Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137904023
D13377.id36243.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
854 B
Referenced Files
None
Subscribers
None
D13377.id36243.diff
View Options
Index: math/py-matplotlib/Makefile
===================================================================
--- math/py-matplotlib/Makefile
+++ math/py-matplotlib/Makefile
@@ -27,7 +27,7 @@
USE_GITHUB= yes
-USES= compiler:c++11-lib gettext pkgconfig python:2.7 shebangfix uniquefiles:dirs
+USES= compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs
USE_PYTHON= autoplist distutils
CFLAGS+= -I${LOCALBASE}/include
@@ -35,6 +35,11 @@
QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND
OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND
OPTIONS_SUB= yes
+.if ${FLAVOR:U:Mpy3*}
+# x11-toolkits/py-gtk2, x11-toolkits/py-wxPython28 do not support Python 3
+OPTIONS_EXCLUDE= GTKBACKEND GTKAGGBACKEND WXAGGBACKEND
+.endif
+
GTKBACKEND_DESC= GTK backend support
GTKBACKEND_VARS= GTK_BACKEND=True
GTKBACKEND_VARS_OFF= GTK_BACKEND=False
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 28, 1:44 AM (18 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26270687
Default Alt Text
D13377.id36243.diff (854 B)
Attached To
Mode
D13377: math/py-matplotlib: Allow build for Python 3.x
Attached
Detach File
Event Timeline
Log In to Comment