summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 03:06:27 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-08-31 03:06:27 +0000
commit205f0f8997ec095ac6c7473df4b733f7f212c80a (patch)
tree9f0a3bc36363f039ef55402d6fb3ffd002816490 /games
parent- don't clobber any given LDFLAGS (diff)
[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/Makefile1
-rw-r--r--games/jools/files/patch-jools::__init__.py18
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 *