From owner-freebsd-ports@FreeBSD.ORG Tue Oct 4 14:11:33 2005 Return-Path: X-Original-To: ports@FreeBSD.ORG Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A0D016A420 for ; Tue, 4 Oct 2005 14:11:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B44143D48 for ; Tue, 4 Oct 2005 14:11:33 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [70.30.70.180]) by elvis.mu.org (Postfix) with ESMTP id 1E8221A3C27 for ; Tue, 4 Oct 2005 07:11:33 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8DDEF5146E; Tue, 4 Oct 2005 10:11:29 -0400 (EDT) Date: Tue, 4 Oct 2005 10:11:29 -0400 From: Kris Kennaway To: FreeBSD Ports Message-ID: <20051004141129.GA61667@xor.obsecurity.org> References: <20051003184904.GB46117@iib.unsam.edu.ar> <20051004092830.GC1633@isis.sigpipe.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <20051004092830.GC1633@isis.sigpipe.cz> User-Agent: Mutt/1.4.2.1i Cc: Subject: Re: make port to install to a different PREFIX 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: Tue, 04 Oct 2005 14:11:33 -0000 --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--