Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Dec 2006 10:07:59 GMT
From:      Denis Shaposhnikov <dsh@vlink.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Mark Linimon <linimon@FreeBSD.org>
Subject:   ports/106120: Update port: x11-toolkits/py-gtk2 (fix build with python 2.5)
Message-ID:  <200612011007.kB1A7wKf025531@freefall.freebsd.org>
Resent-Message-ID: <200612011010.kB1AAIhI025716@freefall.freebsd.org>

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

>Number:         106120
>Category:       ports
>Synopsis:       Update port: x11-toolkits/py-gtk2 (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:18 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:

--- /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

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



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