From owner-freebsd-ports@FreeBSD.ORG  Sat Aug  6 16:00:54 2011
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9E508106566B
	for <freebsd-ports@freebsd.org>; Sat,  6 Aug 2011 16:00:54 +0000 (UTC)
	(envelope-from m.seaman@infracaninophile.co.uk)
Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk
	[IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78])
	by mx1.freebsd.org (Postfix) with ESMTP id 09A838FC24
	for <freebsd-ports@freebsd.org>; Sat,  6 Aug 2011 16:00:53 +0000 (UTC)
Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk
	[81.187.76.163]) (authenticated bits=0)
	by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id
	p76G0fO9005232
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sat, 6 Aug 2011 17:00:50 +0100 (BST)
	(envelope-from m.seaman@infracaninophile.co.uk)
X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p76G0fO9005232
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=infracaninophile.co.uk; s=201001-infracaninophile; t=1312646450;
	bh=/O72KGauqEoFj/QJ4i4mpHTbAkROljw77hHwuXQqboo=;
	h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References:
	In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To:
	Message-ID:Mime-Version:References:To;
	z=Message-ID:=20<4E3D651F.5070208@infracaninophile.co.uk>|Date:=20S
	at,=2006=20Aug=202011=2017:00:31=20+0100|From:=20Matthew=20Seaman=
	20<m.seaman@infracaninophile.co.uk>|User-Agent:=20Mozilla/5.0=20(M
	acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201
	10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20Steve=20Kargl=20
	<sgk@troutmask.apl.washington.edu>|CC:=20freebsd-ports@freebsd.org
	|Subject:=20Re:=20PREFIX=20is=20not=20honored=20for=20dependencies
	|References:=20<20110805220853.GA61697@troutmask.apl.washington.ed
	u>=20<4E3D06D0.7020204@infracaninophile.co.uk>=20<20110806152105.G
	B85982@troutmask.apl.washington.edu>|In-Reply-To:=20<2011080615210
	5.GB85982@troutmask.apl.washington.edu>|X-Enigmail-Version:=201.2|
	OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20mic
	alg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3
	B=0D=0A=20boundary=3D"------------enigEDEEC49C8AC570A552D34E71";
	b=fa8WqLwTocp+y/RcfWYiZJ1HIINIeOss8f2TyZGTK7u/cImOBXTIRZb26zMs2v/Vl
	NGywWTs6IsbWrCBmRLC1LHoGsBwNDSaTBFOIGz300QaBHApauuSUHaVATI/0D7s7hW
	buDk8ACbC99CilYvYU4g52WG6wcqSXCXr0SyKrdc=
Message-ID: <4E3D651F.5070208@infracaninophile.co.uk>
Date: Sat, 06 Aug 2011 17:00:31 +0100
From: Matthew Seaman <m.seaman@infracaninophile.co.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6;
	rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Steve Kargl <sgk@troutmask.apl.washington.edu>
References: <20110805220853.GA61697@troutmask.apl.washington.edu>
	<4E3D06D0.7020204@infracaninophile.co.uk>
	<20110806152105.GB85982@troutmask.apl.washington.edu>
In-Reply-To: <20110806152105.GB85982@troutmask.apl.washington.edu>
X-Enigmail-Version: 1.2
OpenPGP: id=60AE908C
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enigEDEEC49C8AC570A552D34E71"
X-Virus-Scanned: clamav-milter 0.97.2 at lucid-nonsense.infracaninophile.co.uk
X-Virus-Status: Clean
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	lucid-nonsense.infracaninophile.co.uk
Cc: freebsd-ports@freebsd.org
Subject: Re: PREFIX is not honored for dependencies
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Aug 2011 16:00:54 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigEDEEC49C8AC570A552D34E71
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 06/08/2011 16:21, Steve Kargl wrote:
> man ports
> man make.conf
> man src.conf
>=20
> Hmmm, no description of LOCALBASE.

Good heavens.  You're absolutely right.  That is a most peculiar
omission.  It certainly should be mentioned in ports(7).

> So how is one to understand the difference?  From 'man ports'
>=20
>      PREFIX        Where to install things in general (usually /usr/loc=
al).
>=20

The comments in /usr/ports/Mk/bsd.ports.mk, plus descriptions in The
Porter's Handbook pretty much cover where and how LOCALBASE is used.
Even so, it could still do with an unambiguous statement somewhere
(IMHO) that LOCALBASE is the master control for where the ports will
install software and look for installed packages to resolve dependencies.=


In fact, as the default is to set PREFIX to the same as LOCALBASE, just
resetting LOCALBASE should get the effect you were trying to achieve.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enigEDEEC49C8AC570A552D34E71
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk49ZSkACgkQ8Mjk52CukIwFcwCfU6cU1LsDoLmRq/RBSYpPUO1Q
1G8AoICkbZ8ZYADHrc3vl9uzAHLtZdby
=gJse
-----END PGP SIGNATURE-----

--------------enigEDEEC49C8AC570A552D34E71--