misc/130411: [PATCH] x11/xcb-proto - Fix build with python2.6

David Naylor naylor.b.david at gmail.com
Mon Jan 12 02:50:03 PST 2009


>Number:         130411
>Category:       misc
>Synopsis:       [PATCH] x11/xcb-proto - Fix build with python2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 10:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        FreeBSD 8.0-CURRENT
>Organization:
Private
>Environment:
FreeBSD dragon.dg 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Fri Jan  9 16:05:40 SAST 2009     root at dragon.dg:/tmp/usr/src/sys/GENERIC  i386
>Description:
If PYTHON_DEFAULT_VERSION=python2.6 is set in make.conf xcb-proto still requires python2.5 to be built.  This is not strictly required since it does work with python2.6.  This results in two python versions being build needlessly.
>How-To-Repeat:
cd /usr/ports/x11/xcb-proto && make all-depends-list PYTHON_DEFAULT_VERSION=python2.6
Note the lang/python25 in the list.
>Fix:
Apply the given patch.  

Note: If and when python2.7 is released then the port will need to updated.  I did this to avoid python3.0 which probably (but not tested) will not work.

Patch attached with submission follows:

--- xcb-proto/Makefile	2008-09-15 16:06:55.000000000 +0200
+++ xcb-proto/Makefile	2009-01-12 11:05:39.000000000 +0200
@@ -17,7 +17,7 @@
 
 USE_BZIP2=	yes
 USE_GNOME=	gnomehack
-USE_PYTHON=	2.5
+USE_PYTHON=	2.5-2.6
 GNU_CONFIGURE=	yes
 
 DATADIR=	${PREFIX}/share/xcb


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


More information about the freebsd-bugs mailing list