Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2014 12:09:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191779] New: games/einstein doesn't work since staging
Message-ID:  <bug-191779-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191779

            Bug ID: 191779
           Summary: games/einstein doesn't work since staging
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: aaz@q-fu.com

The executable looks for its data file in the temporary staging directory and
not in the final installation directory.

This happens because in the program's Makefile, the PREFIX variable (set to
STAGEDIR+PREFIX) is both embedded in the executable and used as the install
target.

How to reproduce:

# make -C /usr/ports/games/einstein install
$ einstein
... works ...

# make -C /usr/ports/games/einstein clean
$ einstein
0x4a0004Resource 'cursor.bmp' not found


The attached patch changes the path that is embedded in the executable to just
the PREFIX without STAGEDIR. The install target still includes STAGEDIR.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191779-13>