Date: Tue, 4 Oct 2005 10:11:29 -0400 From: Kris Kennaway <kris@obsecurity.org> To: FreeBSD Ports <ports@FreeBSD.ORG> Subject: Re: make port to install to a different PREFIX Message-ID: <20051004141129.GA61667@xor.obsecurity.org> In-Reply-To: <20051004092830.GC1633@isis.sigpipe.cz> References: <20051003184904.GB46117@iib.unsam.edu.ar> <20051004092830.GC1633@isis.sigpipe.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 04, 2005 at 11:28:30AM +0200, Roman Neuhauser wrote: > # fernan@iib.unsam.edu.ar / 2005-10-03 15:49:04 -0300: > > I'm the maintainer of the biology/emboss port. The port > > installs by default to $PREFIX which, in most cases should > > be $LOCALBASE (i.e. /usr/local). > >=20 > > EMBOSS is a big package, with lots of executable files. It > > is thus not surprising that some of the executables have the > > same name as those installed by other ports. > >=20 > > Right now these are the recorded conflicts: > > CONFLICTS=3D nss-* qmail-ldap2-* digest-* > >=20 > > To work around this, I was thinking about installing > > biology/emboss by default to PREFIX/emboss. > > However, I'm having problems in getting this to work. > >=20 > > This does not work: > > CONFIGURE_ARGS+=3D --prefix=3D${PREFIX}/emboss > >=20 > > and neither does this: > > PREFIX?=3D ${PREFIX}/emboss > >=20 > > because obviously 'Variable PREFIX is recursive.' >=20 > Either use PREFIX?=3D${LOCALBASE}/emboss, or use another approach (IMO This is wrong. Ports install into PREFIX, not LOCALBASE. > better, but depends on whether the configure script supports it): > CONFIGURE_ARGS+=3D--program-prefix=3Demboss- Yes, you need to force the vendor software to install where you tell it to. Once you figure out how the software installs itself into a directory of your choosing, just do EMBOSS_PREFIX?=3D${PREFIX}/emboss and install into ${EMBOSS_PREFIX}. =20 Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDQo2RWry0BWjoQKURAhu9AKDC06bCtUXaIyrY+un5Wq9ZTXJajwCg0lvt OA5X6esQVJC44r0k4jUUi1M= =ytAB -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051004141129.GA61667>