From owner-freebsd-ports@FreeBSD.ORG Thu Jun 11 08:40:33 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from straylight.ringlet.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with SMTP id 9A044106564A for ; Thu, 11 Jun 2009 08:40:32 +0000 (UTC) (envelope-from roam@ringlet.net) Received: (qmail 35125 invoked by uid 1000); 11 Jun 2009 08:40:31 -0000 Date: Thu, 11 Jun 2009 11:40:31 +0300 From: Peter Pentchev To: Yuri Pankov Message-ID: <20090611084031.GA987@straylight.m.ringlet.net> References: <20090611003858.GB1457@darklight.homeunix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <20090611003858.GB1457@darklight.homeunix.org> User-Agent: Mutt/1.5.19 (2009-01-05) Cc: ports@freebsd.org Subject: Re: Installing files to PREFIX and LINUXBASE - is it possible? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 08:40:33 -0000 --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/ or > /compat/linux/usr/share/gens/), 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--