freebsd-ports/emulators/pyxmame/files/patch-pyxmame_Config.py
Jose Alonso Cardenas Marquez 20841977a2 - New port: emulators/pyxmame
Pyxmame is a free application that provides a simple frontend for the xmame,
developed with PyGTK

WWW:    http://pegueroles.com/Pyxmame/

Approved by:	garga (mentor)
2006-08-01 23:31:06 +00:00

13 lines
310 B
Python

--- pyxmame/Config.py Mon Jul 3 15:31:07 2006
+++ pyxmame/Config.py Tue Aug 1 03:45:45 2006
@@ -3,8 +3,9 @@
import re
import os
+import sys
-CONFIG_FILE="/etc/pyxmame/pyxmamerc"
+CONFIG_FILE=sys.prefix+"/etc/pyxmame/pyxmamerc"
HOME_FILE=os.environ['HOME']+"/.pyxmame/pyxmamerc"
class Config(dict):