ports/166148: [patch] math/py-mathplotlib: Fix configure barf WXAGG_BACKEND

Mel Flynn rflynn at acsalaska.net
Thu Mar 15 18:20:02 UTC 2012


>Number:         166148
>Category:       ports
>Synopsis:       [patch] math/py-mathplotlib: Fix configure barf WXAGG_BACKEND
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 18:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mel Flynn
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel at datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64


>Description:
Configure tests in math/py-mathplotlib import wx, which isn't available
at buildtime due to an error in depedency setup.
>How-To-Repeat:
make -C /usr/ports/math/py-mathplotlib config
tick on WXAGG_BACKEND
make -C /usr/ports/math/py-mathplotlib configure

>Fix:
Default for WX_COMP=python is RUN_DEPENDS only. Fix is therefore to use
WX_COMP=python:lib as per Mk/bsd.wx.mk



--- fix-pymatplotlib.patch begins here ---
Index: math/py-matplotlib/Makefile
===================================================================
RCS file: /home/ncvs/ports/math/py-matplotlib/Makefile,v
retrieving revision 1.41
diff -u -r1.41 Makefile
--- math/py-matplotlib/Makefile	11 Nov 2011 18:16:37 -0000	1.41
+++ math/py-matplotlib/Makefile	15 Mar 2012 17:44:54 -0000
@@ -86,7 +86,7 @@
 
 .if defined(WITH_WXAGGBACKEND)
 USE_WX=		2.8+
-WX_COMPS=	python
+WX_COMPS=	python:lib
 CONFIGURE_ENV+=	WX_CONFIG="${WX_CONFIG}"
 
 WXAGG_BACKEND=	True
--- fix-pymatplotlib.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list