From owner-freebsd-bugs@FreeBSD.ORG Mon Jan 12 10:50:03 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2240A1065674 for ; Mon, 12 Jan 2009 10:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D80018FC1C for ; Mon, 12 Jan 2009 10:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CAo2WE073413 for ; Mon, 12 Jan 2009 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0CAo2Ug073412; Mon, 12 Jan 2009 10:50:02 GMT (envelope-from gnats) Resent-Date: Mon, 12 Jan 2009 10:50:02 GMT Resent-Message-Id: <200901121050.n0CAo2Ug073412@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Naylor Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21E52106566B for ; Mon, 12 Jan 2009 10:44:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 102B38FC08 for ; Mon, 12 Jan 2009 10:44:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n0CAiOfG039114 for ; Mon, 12 Jan 2009 10:44:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n0CAiOOW039113; Mon, 12 Jan 2009 10:44:24 GMT (envelope-from nobody) Message-Id: <200901121044.n0CAiOOW039113@www.freebsd.org> Date: Mon, 12 Jan 2009 10:44:24 GMT From: David Naylor To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/130411: [PATCH] x11/xcb-proto - Fix build with python2.6 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 10:50:03 -0000 >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: