diff options
author | edwin <edwin@FreeBSD.org> | 2003-08-31 11:06:27 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-08-31 11:06:27 +0800 |
commit | 612e583d9ba521eaf6f4fd67c7c5c982fffe75c3 (patch) | |
tree | 0045526c680ea41229729288a628aaab12d902f3 /games | |
parent | 45202f327a25ec334f656a720b6566d0ef4d4635 (diff) | |
download | freebsd-ports-gnome-612e583d9ba521eaf6f4fd67c7c5c982fffe75c3.tar.gz freebsd-ports-gnome-612e583d9ba521eaf6f4fd67c7c5c982fffe75c3.tar.zst freebsd-ports-gnome-612e583d9ba521eaf6f4fd67c7c5c982fffe75c3.zip |
[patch] fix pygame detection in games/jools
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?)
PR: ports/53020
Submitted by: Mark Linimon <linimon@lonesome.com>
Diffstat (limited to 'games')
-rw-r--r-- | games/jools/Makefile | 1 | ||||
-rw-r--r-- | games/jools/files/patch-jools::__init__.py | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/games/jools/Makefile b/games/jools/Makefile index 28eb1a4c5e83..2fb48ac079e9 100644 --- a/games/jools/Makefile +++ b/games/jools/Makefile @@ -6,6 +6,7 @@ PORTNAME= jools PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.eecs.umich.edu/~pelzlpj/jools/ diff --git a/games/jools/files/patch-jools::__init__.py b/games/jools/files/patch-jools::__init__.py new file mode 100644 index 000000000000..2042d804064d --- /dev/null +++ b/games/jools/files/patch-jools::__init__.py @@ -0,0 +1,18 @@ +--- jools/__init__.py.orig Sat Aug 30 20:04:03 2003 ++++ jools/__init__.py Sat Aug 30 20:04:32 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 * |