make package-recursive not installing port

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Oct 2 06:29:47 UTC 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 971 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20141002/87874bcc/attachment.sig>


More information about the freebsd-questions mailing list