make package-recursive not installing port

Amitabh Kant amitabhkant at gmail.com
Thu Oct 2 06:37:47 UTC 2014


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 at infracaninophile.co.uk> wrote:

> On 02/10/2014 07:16, Amitabh Kant wrote:
> > But postgresql92-server has not been installed on the system
> > root at 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 at infracaninophile.co.uk
>
>


More information about the freebsd-questions mailing list