From owner-freebsd-questions@freebsd.org Thu Jan 5 07:45:29 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65E9ACA08ED for ; Thu, 5 Jan 2017 07:45:29 +0000 (UTC) (envelope-from steve@sohara.org) Received: from smtp3.irishbroadband.ie (smtp3.irishbroadband.ie [62.231.32.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3319F1139 for ; Thu, 5 Jan 2017 07:45:29 +0000 (UTC) (envelope-from steve@sohara.org) Received: from [89.127.62.20] (helo=smtp.lan.sohara.org) by smtp3.irishbroadband.ie with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1cP2jk-0006bL-DY for freebsd-questions@freebsd.org; Thu, 05 Jan 2017 07:45:24 +0000 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.87 (FreeBSD)) (envelope-from ) id 1cP2kL-0006lL-TW for freebsd-questions@freebsd.org; Thu, 05 Jan 2017 07:46:02 +0000 Date: Thu, 5 Jan 2017 07:45:16 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Building base, other than by default Message-Id: <20170105074516.ed5b692adf4b8be8ef3bc904@sohara.org> In-Reply-To: <9e99b996-360d-2a9f-a5fc-5e2da45c551a@ShaneWare.Biz> References: <586D66D6.5070901@columbus.rr.com> <9e99b996-360d-2a9f-a5fc-5e2da45c551a@ShaneWare.Biz> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jan 2017 07:45:29 -0000 On Thu, 5 Jan 2017 16:19:05 +1030 Shane Ambler wrote: > On 05/01/2017 07:49, Baho Utot wrote: > > I am working on a script to build base and I want to build it in another > > directory other than /usr/src. > > I would also like to place the result binaries in another directory > > other than /usr/obj. > > I also would like to build as a non-root user. > > > > Is this possible and can I install base from the build. > > You can checkout the source code anywhere you want. The permissions on > the directories should be the only factor preventing a user from > compiling. -- snip details For even more details see man build. -- Steve O'Hara-Smith