ports/53020: [patch] fix pygame detection in games/jools

Mark Linimon linimon at lonesome.com
Sat Jun 7 20:50:16 UTC 2003


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



More information about the freebsd-ports-bugs mailing list