[Bug 191779] New: games/einstein doesn't work since staging

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 10 12:09:47 UTC 2014


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 at FreeBSD.org
          Reporter: aaz at 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.


More information about the freebsd-ports-bugs mailing list