Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 01:16:59 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports@freebsd.org
Cc:        Yuri <yuri@rawbw.com>
Subject:   Re: Why pkg-install is run during port build?
Message-ID:  <20150330231659.GB30115@ivaldir.etoilebsd.net>
In-Reply-To: <44bnjaaydb.fsf@lowell-desk.lan>
References:  <5519BE2F.50407@rawbw.com> <CABgom6dvTdHQNZUn1vJVcvFv0P6xvNFyWd9dtc=L3QR99HsFOA@mail.gmail.com> <5519C520.6080004@rawbw.com> <44bnjaaydb.fsf@lowell-desk.lan>

next in thread | previous in thread | raw e-mail | index | archive | help

--98e8jtXdkpgskNou
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Mar 30, 2015 at 06:56:00PM -0400, Lowell Gilbert wrote:
> Yuri <yuri@rawbw.com> writes:
>=20
> > On 03/30/2015 14:42, Matthew Donovan wrote:
> >> With FreeBSD packages and ports are the same. As it is tje same databa=
se
> >
> > 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.
>=20
> > 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.
>=20
> 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.
>=20
> This is the "new" way of doing things, meaning it's been around in
> mainstream use for "only" a couple of years or so.

And pkg-install is not run at all during stage if some ports are explicitly
doing that they should be fixed!

Best regards,
Bapt

--98e8jtXdkpgskNou
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlUZ2WsACgkQ8kTtMUmk6Ew+KACgvuhkBMxWUOa4Uf/LJ3GPpglN
TEUAni0oNjiAgZRXz3jNqErcpXa29YoW
=2E3J
-----END PGP SIGNATURE-----

--98e8jtXdkpgskNou--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150330231659.GB30115>