From owner-freebsd-questions@freebsd.org Sat Jun 10 20:56:38 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 D9786BF61D8 for ; Sat, 10 Jun 2017 20:56:38 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (23-24-207-145-static.hfc.comcastbusiness.net [23.24.207.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1C8426EA for ; Sat, 10 Jun 2017 20:56:38 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from Cone-of-Silence.local (localhost [127.0.0.1]) by ns.mahan.org (8.14.9/8.14.9) with ESMTP id v5AKc2UV001269; Sat, 10 Jun 2017 13:38:02 -0700 (PDT) (envelope-from mahan@mahan.org) Subject: Re: Building base source To: FreeBSD Mailing List , baho-utot@columbus.rr.com References: <44y3t19e5i.fsf@lowell-desk.lan> <872fe20f-fece-9980-2c8f-10e9492ab786@columbus.rr.com> <561c18b7-03e0-1972-d759-5d9ec5558fd2@columbus.rr.com> From: Patrick Mahan Message-ID: Date: Sat, 10 Jun 2017 13:37:47 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <561c18b7-03e0-1972-d759-5d9ec5558fd2@columbus.rr.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US 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: Sat, 10 Jun 2017 20:56:39 -0000 On 6/10/17 6:34 AM, Baho Utot wrote: > > On 06/09/17 16:09, Jack L. wrote: >> Have you looked at /usr/src/Makefile.inc1 or specifically MAKEOBJDIRPREFIX?= >> >> On Fri, Jun 9, 2017 at 1:01 PM, Baho Utot wrote: >>> >>> >>> On 06/09/17 15:03, Lowell Gilbert wrote: >>>> >>>> Baho Utot writes: >>>> >>>>> I am experimenting with building the base source. >>>>> >>>>> What do I need to set (which knobs) to be able to build the base >>>>> source and have the binaries built into a home directory. >>>>> >>>>> The source will be in /usr/src but I want all the binaries and all >>>>> other files produced by the build to goto in >>>>> /usr/home/FreeBSD/base/target. >>>>> >>>>> Will it be a copy of want is installed in the / (root) filesystem? >>>> >>>> >>>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html >>>> >>> >>> I have already looked at that. That is why I have the questions. I want to >>> build the base as a user and have it install its stuff into a subdirectory. >>> >>> The link tells me how to build and install from source to the root >>> directory, that is not what I was asking. > > I have found the information that gets me going from man build and man release. > Those contained a wealth of information. > > I am currently using that information to create build scripts. > > I just need to now find information on make packages, but it is scant at this point. > Try man ports. Patrick