Date: Sat, 7 Jun 2003 15:51:20 -0500 (CDT) From: Mark Linimon <linimon@lonesome.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53020: [patch] fix pygame detection in games/jools Message-ID: <200306072051.h57KpKVB021007@lonesome.lonesome.com> Resent-Message-ID: <200306072050.h57KoEY3074071@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53020 >Category: ports >Synopsis: [patch] fix pygame detection in games/jools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 07 13:50:14 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Linimon >Release: FreeBSD-4.7 >Organization: FreeBSD >Environment: System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386 >Description: I can't get the new port "jools" to detect my installation of pygame, no doubt due to some path confusion. Don't know if it's just this machine, but I will note that I basically have a default Python install from ports, with a few additional modules, but no PYTHONPATH or anything about python in make.conf. (Perhaps the original porter has site-packages/pygame in his default path?) >How-To-Repeat: make install; jools & >Fix: At least the following is needed, and needs to go back to the port author. However, the fix is not sufficient. --- jools/__init__.py.dist Sat May 10 02:43:36 2003 +++ jools/__init__.py Sat Jun 7 15:11:25 2003 @@ -24,6 +24,7 @@ # Primary game control loop. # +import os, random, sys try: import pygame @@ -31,7 +32,6 @@ sys.exit("Jools requires Pygame, which does not appear to be installed.") -import os, random, sys from pygame.locals import * from globals import * >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306072051.h57KpKVB021007>