ports/66155: [Patch] games/tuxracer won't start
j.e.drews at att.net
j.e.drews at att.net
Sun May 2 00:40:20 UTC 2004
>Number: 66155
>Category: ports
>Synopsis: [Patch] games/tuxracer won't start
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat May 01 17:40:20 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jonathan <j.e.drews at att.net>
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD notebook.silbsd.org 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Apr 29 23:05:11 CDT 2004 root at notebook.silbsd.org:/usr/obj/usr/src/sys/NOTEBOOK i386
>Description:
Tuxracer will not start.
>How-To-Repeat:
In a Xterm, type "tuxracer". The game will briefly flash and then this warning will appear:
***tuxracer error: error evalating /usr/local/share/tuxracer/tux.tcl: couldn't read file "tux.tcl": permission denied
Please check the value of `data_dir' in ~/.tuxracer/options and make sure it
points to the location of the latest version of the tuxracer-data files.
>Fix:
The problem is that the data files in games/tuxracer/work/tuxracer-data-0.61 are not have world readable. There is no way for tuxracer to access any of it's data. NOTE: portlint showed that USE_GL should be substituted for USE_MESA
To fix apply the following patch:
--- Makefile.tuxracer.org Sat May 1 18:35:04 2004
+++ /usr/ports/games/tuxracer/Makefile Sat May 1 19:13:12 2004
@@ -20,7 +20,7 @@
LIB_DEPENDS= tcl83.1:${PORTSDIR}/lang/tcl83
USE_SDL= mixer sdl
-USE_MESA= yes
+USE_GL= yes
USE_GMAKE= yes
USE_AUTOMAKE_VER= 14
AUTOMAKE_ARGS= -a
@@ -40,7 +40,7 @@
post-install:
${MKDIR} ${DATADIR}
- (cd ${WORKDATA} && ${TAR} -c -f - *) | \
+ (chmod -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
(cd ${DATADIR} && ${TAR} -x -f - )
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list