FreeBSD Bugzilla – Attachment 185337 Details for
Bug 213636
math/py-matplotlib: Fails to build with python3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch using option helpers and just using bsd.port.mk.
python2and3.patch (text/plain), 1.29 KB, created by
rsmith
on 2017-08-12 23:13:01 UTC
(
hide
)
Description:
Updated patch using option helpers and just using bsd.port.mk.
Filename:
MIME Type:
Creator:
rsmith
Created:
2017-08-12 23:13:01 UTC
Size:
1.29 KB
patch
obsolete
>--- Makefile.orig 2017-08-06 22:49:38.580647000 +0200 >+++ Makefile 2017-08-13 01:06:22.303608000 +0200 >@@ -1,9 +1,8 @@ >-# Created by: ijliao > # $FreeBSD$ > > PORTNAME= matplotlib > PORTVERSION= 1.5.3 >-PORTREVISION= 2 >+PORTREVISION= 3 > DISTVERSIONPREFIX= v > CATEGORIES= math python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -27,13 +26,16 @@ > > 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 > > OPTIONS_DEFINE= EXAMPLES GTKBACKEND GTKAGGBACKEND QT4AGGBACKEND \ > QT5AGGBACKEND TKAGGBACKEND WXAGGBACKEND >-OPTIONS_DEFAULT= GTKBACKEND GTKAGGBACKEND TKAGGBACKEND >+OPTIONS_DEFAULT= TKAGGBACKEND >+.if ${PYTHON_MAJOR_VER} == 2 >+OPTIONS_DEFAULT+= GTKBACKEND GTKAGGBACKEND >+.endif > OPTIONS_SUB= yes > GTKBACKEND_DESC= GTK backend support > GTKBACKEND_VARS= GTK_BACKEND=True >@@ -67,6 +69,11 @@ > > PORTEXAMPLES= * > >+.if ${PYTHON_MAJOR_VER} == 3 >+GTKBACKEND_BROKEN= GTK backend does not work with Python 3 >+GTKAGGBACKEND_BROKEN= GTKAgg backend does not work with Python 3 >+.endif >+ > .if defined(PACKAGE_BUILDING) > GTKBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver > GTKAGGBACKEND_BUILD_DEPENDS= Xvfb:x11-servers/xorg-vfbserver
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213636
:
178422
|
185105
|
185337
|
185389