Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 00:02:22 +0300 (MSK)
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org, dsh@vlink.ru
Subject:   ports/105851: Update port: graphics/py-cairo (fix build with python 2.5)
Message-ID:  <200611252102.kAPL2M1i001121@localhost.my.domain>
Resent-Message-ID: <200611252110.kAPLADI6054608@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105851
>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:   Sat Nov 25 21:10:12 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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611252102.kAPL2M1i001121>