From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 23:07:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49F1E16A420 for ; Fri, 21 Oct 2005 23:07:14 +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 083BC43D45 for ; Fri, 21 Oct 2005 23:07:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E0D611A3C1C; Fri, 21 Oct 2005 16:07:13 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8DAA6512A1; Fri, 21 Oct 2005 19:07:12 -0400 (EDT) Date: Fri, 21 Oct 2005 19:07:12 -0400 From: Kris Kennaway To: Jerry McAllister Message-ID: <20051021230711.GA69140@xor.obsecurity.org> References: <200510212242.j9LMgaq2017337@clunix.cl.msu.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQksG6bCIzRHxTLp" Content-Disposition: inline In-Reply-To: <200510212242.j9LMgaq2017337@clunix.cl.msu.edu> User-Agent: Mutt/1.4.2.1i Cc: ross , "freebsd-questions@freebsd.org" Subject: Re: Making ports in alternative areas X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 23:07:14 -0000 --LQksG6bCIzRHxTLp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 21, 2005 at 06:42:36PM -0400, Jerry McAllister wrote: > >=20 > > I'm running low on disc space on my /usr partition and I would like to = =20 > > compile a program from the ports that is rather large. I have enough sp= ace =20 > > once it's compiled, it's just the work that I don't have enough space f= or. =20 > > how can I get the port to do it's work in a different area on a differe= nt =20 > > partition? >=20 > Do you have enough space on another partition to move the whole > ports tree over there? That would be nicest. But, the principle > is the same even if you only move that directory. >=20 > Make a directory in the larger partition. If it is for all of ports > I might suggest calling it usr.ports > Tar up the stuff you want to move. > Unroll it in the new roomier space. > Create a symlink to the new space. > You can tar to a pipe and untar from that pipe, but if there is room > I prefer to go to and from a file. It improves my confidence. [...] This is way too much work. We have environment variable to solve the OP's problem. See make.conf(5) and ports(7). Kris --LQksG6bCIzRHxTLp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDWXSfWry0BWjoQKURAsbnAKDGtQCTQGhtoV6PNSRDdzQQDNHKLwCcDwV+ PITWmtq1gyt1NOCt2vKT0gk= =J/Dp -----END PGP SIGNATURE----- --LQksG6bCIzRHxTLp--