Date: Mon, 30 Mar 2015 18:56:00 -0400 From: Lowell Gilbert <freebsd-ports-local@be-well.ilk.org> To: Yuri <yuri@rawbw.com> Cc: ports@freebsd.org Subject: Re: Why pkg-install is run during port build? Message-ID: <44bnjaaydb.fsf@lowell-desk.lan> In-Reply-To: <5519C520.6080004@rawbw.com> (yuri@rawbw.com's message of "Mon, 30 Mar 2015 14:50:24 -0700") References: <5519BE2F.50407@rawbw.com> <CABgom6dvTdHQNZUn1vJVcvFv0P6xvNFyWd9dtc=L3QR99HsFOA@mail.gmail.com> <5519C520.6080004@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yuri <yuri@rawbw.com> writes: > On 03/30/2015 14:42, Matthew Donovan wrote: >> With FreeBSD packages and ports are the same. As it is tje same database > > No, package and port are different things. > Ports are the recipes to build packages or install directly, they are > in file system under /usr/ports, and packages are the collection of > binaries that can be installed, located in the repository, like one > that is being pointed to by /etc/pkg/FreeBSD.conf > >From your first message I wasn't sure you were actually running the current ports/package tools (pkg(8)), but mentioning FreeBSD.conf tells us that you are. > My question is why pkg-install is run during the stage phase? Isn't > this the wrong thing to do? I think only make install should run it. The whole point of the stage phase is to install the port into a transitional area (STAGEDIR), from which a package is built. That package is what is actually installed into the real system. This is the "new" way of doing things, meaning it's been around in mainstream use for "only" a couple of years or so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44bnjaaydb.fsf>