From owner-freebsd-questions@FreeBSD.ORG Tue Oct 20 21:00:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC3081065692 for ; Tue, 20 Oct 2009 21:00:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7B69D8FC1C for ; Tue, 20 Oct 2009 21:00:26 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 20 Oct 2009 17:00:26 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QGJ57372; Tue, 20 Oct 2009 17:00:25 -0400 (EDT) Received: from 209-6-22-227.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.227]) by smtp01.lnh.mail.rcn.net with ESMTP; 20 Oct 2009 17:00:26 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19166.9448.743318.287500@jerusalem.litteratus.org> Date: Tue, 20 Oct 2009 17:00:24 -0400 To: Chuck Swiger In-Reply-To: References: <4ADE1F2A.6020601@enabled.com> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: Noah , User Questions Subject: Re: how to build from ports without downloading ports 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: Tue, 20 Oct 2009 21:00:26 -0000 Chuck Swiger writes: > > I have a server with minimal disk space. is there a way to build > > from ports without downloading ports or only downloading what is > > needed for the build and then it is removed? > > You're describing the default behavior of ports-- it only > downloads sources which are needed for the current build. To > clean up sources and so forth, look to portsclean (from > portupgrade). There is also the "distclean" target of make, which will get rid of the source tarball. Robert Huff