pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unprivileged build, privileged install issues



I am making an unprivileged build and later on installing it using pkg_add
-p /usr/pkg. Is this a normal way or there is more to it?

E.g. for games/Maelstrom I faced issues. The application was referring to
built-time path instead of /usr/pkg/share yielding:

    Couldn't open resource fork '/hdd/pkg/pkg/share/maelstrom/Maelstrom
    Sprites': No such file or directory

I'd imagine this to be application dependent and pkg_add -p is not going
to (and not expected to) help here.

It's one thing to patch the application to pick the prefix correctly. But
this might be happening with many unprivileged builds. So is there a more
general solution to this?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index