On Thu, Jun 11, 2009 at 04:38:58AM +0400, Yuri Pankov wrote:
> Hi,
> 
> I'm trying to create port of linux version of Gens (Sega Genesis/CD/32X
> emulator). Benefits of using linux version are most recent release and
> ability to run it on amd64 (native version doesn't compile on amd64).
> 
> However, I need to install binary to PREFIX and some files should go to
> /usr/share/gens (paths are hardcoded, checked with ktrace, gens is
> trying to open /usr/share/gens/<file> or
> /compat/linux/usr/share/gens/<file>), and installing to /usr isn't
> really an option, so LINUXBASE/usr/share/gens looks like an only choice.
> Installing everything under LINUXBASE doesn't look like option too -
> "/compat/linux/usr/bin" isn't in path by default.
> 
> Is it possible at all (and welcomed) and how would I create pkg-plist in
> this case or are there any other solutions?
> 
> I've attached shar of what's there at the moment (with incorrect
> pkg-plist).

You could install to $LINUXBASE and just make a symlink for
the binary itself into $PREFIX/bin/.

G'luck,
Peter

-- 
Peter Pentchev  r...@ringlet.net    r...@space.bg    r...@freebsd.org
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
I am the thought you are now thinking.

Attachment: pgpQjA3lT1z8b.pgp
Description: PGP signature

Reply via email to