Update port: devel/py-gobject (fix build with python 2.5)

Denis Shaposhnikov dsh at vlink.ru
Sat Nov 25 13:06:35 PST 2006


>Submitter-Id:	current-users
>Originator:	Denis Shaposhnikov
>Organization:	
>Confidential:	no 
>Synopsis:	Update port: devel/py-gobject (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:

diff -Nru --exclude=.svn /usr/ports/devel/py-gobject/Makefile py-gobject/Makefile
--- /usr/ports/devel/py-gobject/Makefile        Sat Nov 18 23:38:02 2006
+++ py-gobject/Makefile Fri Nov 24 20:55:31 2006
@@ -23,6 +23,7 @@
 USE_PYTHON=    yes
 GNU_CONFIGURE= yes
 CONFIGURE_ARGS=        --disable-docs
+CONFIGURE_ENV+=        PYTHON=${PYTHON_CMD}

 CONFLICTS=     py*-gtk-0*



More information about the freebsd-gnome mailing list