Date: Mon, 12 Jan 2009 10:44:24 GMT From: David Naylor <naylor.b.david@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/130411: [PATCH] x11/xcb-proto - Fix build with python2.6 Message-ID: <200901121044.n0CAiOOW039113@www.freebsd.org> Resent-Message-ID: <200901121050.n0CAo2Ug073412@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901121044.n0CAiOOW039113>
