aboutsummaryrefslogtreecommitdiff
path: root/emulators/xgngeo
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /emulators/xgngeo
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'emulators/xgngeo')
-rw-r--r--emulators/xgngeo/Makefile2
-rw-r--r--emulators/xgngeo/files/patch-data-py_configfile.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/emulators/xgngeo/Makefile b/emulators/xgngeo/Makefile
index 64a46d7e3ac2..6a52089e8ad1 100644
--- a/emulators/xgngeo/Makefile
+++ b/emulators/xgngeo/Makefile
@@ -39,7 +39,7 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/data/py/configfile.py
+ @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/data/py/configfile.py
@${REINPLACE_CMD} -e 's|gtk.threads_init|gtk.gdk.threads_init|g' -e \
's|gtk.threads_enter|gtk.gdk.threads_enter|g' -e \
's|gtk.threads_leave|gtk.gdk.threads_leave|g' ${WRKSRC}/data/py/__init__.py
diff --git a/emulators/xgngeo/files/patch-data-py_configfile.py b/emulators/xgngeo/files/patch-data-py_configfile.py
index a80c43581d0b..c8e1073b7b07 100644
--- a/emulators/xgngeo/files/patch-data-py_configfile.py
+++ b/emulators/xgngeo/files/patch-data-py_configfile.py
@@ -5,7 +5,7 @@
"z80clock": 0,
#Other thing section.
- "libglpath": "/usr/lib/libGL.so",
-+ "libglpath": "%%X11BASE%%/lib/libGL.so",
++ "libglpath": "%%LOCALBASE%%/lib/libGL.so",
"sleepidle": "true",
"bench": "false",
},{ #XGngeo's default.