ports/56383: [patch] games/pysol depends on python 2.2 or lower

Cory Bajus cbajus at mts.net
Wed Sep 3 22:41:27 UTC 2003


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list