Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 12:07:26 +0530
From:      Amitabh Kant <amitabhkant@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: make package-recursive not installing port
Message-ID:  <CAPTAQBKdX1rCWABHYn=ZPmP1pTKaubSRckUKsxZrAysNeuQ--w@mail.gmail.com>
In-Reply-To: <542CF0D2.9090209@infracaninophile.co.uk>
References:  <CAPTAQB+xi8XdKmwkYARAo1Dk8AgzohnfM29g2gf1_71HJd6ToA@mail.gmail.com> <542CF0D2.9090209@infracaninophile.co.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Thanks Mathew for clearing that up.

The last time I created package was still under the pkg_* tools mode, so
was carrying old baggages.

On a related note, if I use "pkg repo" command, I should be able to create
a complete repo for local use right? (I know I have poudriere, but I am
just clearing up the basics here) .

Amitabh

On Thu, Oct 2, 2014 at 11:59 AM, Matthew Seaman <
m.seaman@infracaninophile.co.uk> wrote:

> On 02/10/2014 07:16, Amitabh Kant wrote:
> > But postgresql92-server has not been installed on the system
> > root@test_pkg:/usr/ports/databases/postgresql92-server # pkg info
> > dialog4ports-0.1.5_2           Console Interface to configure ports
> > gettext-0.18.3.1_1             GNU gettext package
> > gmake-3.82_2                   GNU version of 'make' utility
> > indexinfo-0.2                  Utility to regenerate the GNU info page
> index
> > libiconv-1.14_4                Character set conversion library
> > libxml2-2.9.1_1                XML parser library for GNOME
> > pkg-1.3.8_2                    Package manager
> > pkgconf-0.9.7                  Utility to help to configure compiler and
> > linker flags
> > postgresql92-client-9.2.9      PostgreSQL database (client)
> >
> >
> > I have now tested this with multiple ports (postgresql server, pgbouncer,
> > nginx) with the same results. It seems even 10-RELEASE has the same
> > behaviour. Is this how it is meant to behave, because earlier creating
> > packages from ports used to install all the ports?
>
> It's expected that postgresql92-server will not be installed as a
> dependency of anything using postgresql92-client -- after all, the
> postgresql database instance you're using could easily be situated on a
> completely different machine.
>
> It's also the case that 'make package' nowadays does not install the
> package being built.  This is a result of the switch to staging and is
> generally a very good thing.  Basically, if you want to use that
> package, then explicitly install it rather than relying on side-effects
> of the now outmoded and distinctly sub-optimal behaviour the ports used
> to have.
>
>         Cheers,
>
>         Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.
>
> PGP: http://www.infracaninophile.co.uk/pgpkey
> JID: matthew@infracaninophile.co.uk
>
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAPTAQBKdX1rCWABHYn=ZPmP1pTKaubSRckUKsxZrAysNeuQ--w>