From owner-freebsd-ports-bugs@FreeBSD.ORG  Fri Dec  1 10:10:16 2006
Return-Path: <owner-freebsd-ports-bugs@FreeBSD.ORG>
X-Original-To: freebsd-ports-bugs@hub.freebsd.org
Delivered-To: freebsd-ports-bugs@hub.freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 632AB16A40F
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Fri,  1 Dec 2006 10:10:16 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0C9D743CA3
	for <freebsd-ports-bugs@hub.freebsd.org>;
	Fri,  1 Dec 2006 10:10:00 +0000 (GMT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB1AAEga025684
	for <freebsd-ports-bugs@freefall.freebsd.org>;
	Fri, 1 Dec 2006 10:10:14 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB1AAEwk025683;
	Fri, 1 Dec 2006 10:10:14 GMT (envelope-from gnats)
Resent-Date: Fri, 1 Dec 2006 10:10:14 GMT
Resent-Message-Id: <200612011010.kB1AAEwk025683@freefall.freebsd.org>
Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer)
Resent-To: freebsd-ports-bugs@FreeBSD.org
Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org,
	Denis Shaposhnikov <dsh@vlink.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id A7A3416A407;
	Fri,  1 Dec 2006 10:06:12 +0000 (UTC)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3AECF43C9D;
	Fri,  1 Dec 2006 10:05:59 +0000 (GMT)
	(envelope-from gnats@FreeBSD.org)
Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1])
	by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB1A6Bca025319;
	Fri, 1 Dec 2006 10:06:11 GMT
	(envelope-from gnats@freefall.freebsd.org)
Received: (from gnats@localhost)
	by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB1A6Bce025318;
	Fri, 1 Dec 2006 10:06:11 GMT (envelope-from gnats)
Message-Id: <200612011006.kB1A6Bce025318@freefall.freebsd.org>
Date: Fri, 1 Dec 2006 10:06:11 GMT
From: Denis Shaposhnikov <dsh@vlink.ru>
To: FreeBSD-gnats-submit@FreeBSD.org
X-Send-Pr-Version: 3.113
Cc: linimon@FreeBSD.org
Subject: ports/106118: Update port: graphics/py-cairo (fix build with python
	2.5)
X-BeenThere: freebsd-ports-bugs@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Ports bug reports <freebsd-ports-bugs.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs>
List-Post: <mailto:freebsd-ports-bugs@freebsd.org>
List-Help: <mailto:freebsd-ports-bugs-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs>, 
	<mailto:freebsd-ports-bugs-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Dec 2006 10:10:16 -0000


>Number:         106118
>Category:       ports
>Synopsis:       Update port: graphics/py-cairo (fix build with python 2.5)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 01 10:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Denis Shaposhnikov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Nov 24 22:26:16 MSK 2006 dsh@localhost.my.domain:/var/FreeBSD/obj/var/FreeBSD/src/sys/MYNERIC i386
	
>Description:

Hi! This patch fixes build and install with nondefault python port.

>How-To-Repeat:

Add

  PYTHON_VERSION=	python2.5

to /etc/make.conf and try to install the port.

>Fix:

diff -Nru --exclude=.svn /usr/ports/graphics/py-cairo/Makefile py-cairo/Makefile
--- /usr/ports/graphics/py-cairo/Makefile       Sat Oct 14 12:35:17 2006
+++ py-cairo/Makefile   Fri Nov 24 20:55:32 2006
@@ -26,6 +26,7 @@
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --without-pygtk
 CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
+               PYTHON=${PYTHON_CMD} \
                LDFLAGS="-L${X11BASE}/lib"

 .include <bsd.port.pre.mk>

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