From owner-freebsd-ports@FreeBSD.ORG Mon Jan 17 01:12:45 2005 Return-Path: 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 C454616A4CE; Mon, 17 Jan 2005 01:12:45 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E28943D1D; Mon, 17 Jan 2005 01:12:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id AE092513CE; Sun, 16 Jan 2005 17:12:44 -0800 (PST) Date: Sun, 16 Jan 2005 17:12:44 -0800 From: Kris Kennaway To: Jeremie Le Hen Message-ID: <20050117011244.GA89764@xor.obsecurity.org> References: <20050116225230.GI36629@obiwan.tataz.chchile.org> <20050116231254.GJ36629@obiwan.tataz.chchile.org> <41EAFB55.1090701@FreeBSD.org> <20050116234741.GK36629@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <20050116234741.GK36629@obiwan.tataz.chchile.org> User-Agent: Mutt/1.4.2.1i cc: Adam Weinberger cc: freebsd-ports@freebsd.org Subject: Re: Bad $PATH for X11 ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 01:12:45 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 17, 2005 at 12:47:41AM +0100, Jeremie Le Hen wrote: > > I don't understand what you're trying to accomplish. Are you proposing= =20 > > that the ports system look for programs outside of your $PATH? Why don'= t=20 > > you just add /usr/X11R6/bin to your $PATH? >=20 > Yes this is what I have done. But I wasn't sure about whether this > was a workaround or not : what I felt the most disturbing was that > the port framework didn't see the installed imake version and tried > to build another one. But with your answer, I assume this is a must > to have /usr/X11R6/bin in $PATH, even for the root user. I was a > little bit sceptical since I don't used to run X11 applications as root. The default user path includes this directory, and it is assumed that the user who changes this knows what they are doing. Summary: don't do that. Kris --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFB6xEMWry0BWjoQKURAkDbAKC5GmBR4Fk/CQyyL5gsYyB302FnqgCg8yXD AsmOkjSv9HE6Gl3ux5o6cuU= =9mnJ -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--