Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 11:40:31 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Yuri Pankov <yuri.pankov@gmail.com>
Cc:        ports@freebsd.org
Subject:   Re: Installing files to PREFIX and LINUXBASE - is it possible?
Message-ID:  <20090611084031.GA987@straylight.m.ringlet.net>
In-Reply-To: <20090611003858.GB1457@darklight.homeunix.org>
References:  <20090611003858.GB1457@darklight.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 11, 2009 at 04:38:58AM +0400, Yuri Pankov wrote:
> Hi,
>=20
> 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).
>=20
> 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.
>=20
> Is it possible at all (and welcomed) and how would I create pkg-plist in
> this case or are there any other solutions?
>=20
> 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

--=20
Peter Pentchev	roam@ringlet.net    roam@space.bg    roam@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.

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkowwv4ACgkQ7Ri2jRYZRVOJWwCbB96kPvUr+SvNGjovbvHx+0EG
GjQAoLUYiS7nEKBmdo7AAejU6AZ5fDnh
=Fkem
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--



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