Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 17:36:32 -0500 (CDT)
From:      Cory Bajus <cbajus@mts.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56383: [patch] games/pysol depends on python 2.2 or lower
Message-ID:  <200309032236.h83MaWvS093177@rigel.bajus.ca>
Resent-Message-ID: <200309032240.h83MeGY5056117@freefall.freebsd.org>

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

>Number:         56383
>Category:       ports
>Synopsis:       [patch] games/pysol depends on python 2.2 or lower
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 03 15:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Cory Bajus
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD rigel.bajus.ca 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #7: Tue Aug 19 17:51:02 CDT 2003 root@rigel.bajus.ca:/usr/obj/usr/src/sys/RIGEL i386


	
>Description:
The pysol package does not include a compiled version for Python 2.3.
Installing and attempting to run pysol on a system with a current ports
tree gives the following error message:

/usr/local/bin/pysol: could not find the file 'pysol_23.pyc'

>How-To-Repeat:
Install and attempt to run pysol on a system with a current ports tree.
>Fix:
Define PYTHON_VERSION when building, as in the following patch:

--- pysol.Makefile.patch begins here ---
--- /usr/ports/games/pysol/Makefile	Sun Mar  9 07:49:21 2003
+++ Makefile	Wed Sep  3 17:21:42 2003
@@ -14,6 +14,7 @@
 MAINTAINER=	tg@FreeBSD.org
 COMMENT=	Solitaire game, written in Python
 
+PYTHON_VERSION=	python2.2
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
 
 USE_BZIP2=	yes
--- pysol.Makefile.patch ends here ---


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



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