Date: Mon, 12 Jan 2004 01:29:57 -0800 (PST) From: Mark Laws <mdl@60hz.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/61235: freebsd-games: quiz/pathnames.h contains hardcoded path Message-ID: <20040112092957.54A194253@urusai.60hz.org> Resent-Message-ID: <200401120940.i0C9eF5U073553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 61235 >Category: ports >Synopsis: freebsd-games: quiz/pathnames.h contains hardcoded path >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Jan 12 01:40:15 PST 2004 >Closed-Date: >Last-Modified: >Originator: Mark Laws >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: Sixty Hertz Systems >Environment: System: FreeBSD urusai.60hz.org 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Sun Nov 9 22:16:44 PST 2003 mdl@urusai.60hz.org:/usr/src/sys/i386/compile/URUSAI i386 >Description: pathnames.h in quiz(6) contains hard-coded paths, resulting in the following error: quiz: /usr/local/local/local/share/games/quiz.db/index: No such file or directory >How-To-Repeat: >Fix: Apply the following patch: --- pathnames.h.orig Mon Jan 12 01:19:53 2004 +++ pathnames.h Mon Jan 12 01:27:27 2004 @@ -34,4 +34,4 @@ */ #define _PATH_PAGER "/usr/bin/more" -#define _PATH_QUIZIDX "/usr/local/local/share/games/quiz.db/index" +#define _PATH_QUIZIDX "%%PREFIX%%/share/games/quiz.db/index" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112092957.54A194253>