Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Nov 2006 00:06:32 +0300 (MSK)
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        gnome@freebsd.org
Subject:   Update port: devel/py-gobject (fix build with python 2.5)
Message-ID:  <200611252106.kAPL6WRM001230@localhost.my.domain>

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

>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@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*




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