Update port: x11-toolkits/py-gtk2 (fix build with python 2.5)

Denis Shaposhnikov dsh at vlink.ru
Sat Nov 25 13:10:08 PST 2006


>Submitter-Id:	current-users
>Originator:	Denis Shaposhnikov
>Organization:	
>Confidential:	no 
>Synopsis:	Update port: x11-toolkits/py-gtk2 (fix build with python 2.5)
>Severity:	serious
>Priority:	medium
>Category:	ports
>Class:		change-request
>Release:	FreeBSD 7.0-CURRENT i386
>Environment:
System: FreeBSD localhost.my.domain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Fri Nov 24 22:26:16 MSK 2006 dsh at 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:

--- /usr/ports/x11-toolkits/py-gtk2/Makefile    Wed Oct 18 22:56:36 2006
+++ py-gtk2/Makefile    Fri Nov 24 20:55:30 2006
@@ -31,6 +31,7 @@
 USE_GETTEXT=   yes
 GNU_CONFIGURE= yes
 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+               PYTHON=${PYTHON_CMD} \
                LIBS="-lintl"
 CONFIGURE_ARGS=        --disable-docs
 LDFLAGS+=      -L${LOCALBASE}/lib


More information about the freebsd-gnome mailing list