Installing files to PREFIX and LINUXBASE - is it possible?

Peter Pentchev roam at ringlet.net
Thu Jun 11 08:40:33 UTC 2009


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	roam at ringlet.net    roam at space.bg    roam at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20090611/09bec558/attachment.pgp


More information about the freebsd-ports mailing list