openbsd-ports/games/londonlaw/patches/patch-setup_py
eric 6fed52b52d - use zope.interface as required by new twisted (8.x)
- fix gui images path

tweaks and ok ajacoutot@
2008-06-14 06:17:14 +00:00

13 lines
537 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1 2008/06/14 06:17:14 eric Exp $
--- setup.py.orig Sat Jun 14 07:53:11 2008
+++ setup.py Sat Jun 14 07:54:19 2008
@@ -23,7 +23,7 @@ if 'sdist' not in sys.argv and 'clean' not in sys.argv
ROOT = os.path.normpath(arg[(index+len("--root=")):])
config = open("londonlaw/common/config.py", "w")
- config.write("MEDIAROOT = \"" + os.path.join(PREFIX,"share/londonlaw/guiclient") + "\"\n")
+ config.write("MEDIAROOT = \"" + "${PREFIX}/share/londonlaw/guiclient" + "\"\n")
config.close()