Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 13:40:44 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        Adam McDougall <mcdouga9@egr.msu.edu>, Jimmy Renner <jimbo@renner.se>, freebsd-ports@freebsd.org
Subject:   Re: portupgrade failure
Message-ID:  <4B2A34DC.6000405@infracaninophile.co.uk>
In-Reply-To: <4B2A2FC5.1090304@quip.cz>
References:  <7314e5020912161917s355d02c9l16c996043c753044@mail.gmail.com>	<19241.45040.505925.616766@jerusalem.litteratus.org>	<20091217052400.GC32037@lonesome.com>	<20091217102102.15241asjv1rqmqzo@kilroy>	<20091217122727.GF10902@egr.msu.edu> <4B2A2FC5.1090304@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigA4DE175F169368BFFD667F18
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

Miroslav Lachman wrote:
> Adam McDougall wrote:
> [...]
>> Some of that sounds true to my experience, for a while I've noticed wh=
ile
>> installing a new port with portupgrade that it will install the defaul=
t
>> dependencies before prompting with the options screen to find out whic=
h
>> ones I want.  For example if I do 'portupgrade -N postfix' on a fresh
>> system, it will first install pcre and THEN prompt me to (de)select pc=
re
>> or any of the other optional deps.
> [...]
>=20
> It was tired by this behavior more than year ago and it was the main=20
> reason to me to switch to portmaster. I got system bloated with unwante=
d=20
> dependencies when using portinstall/portupgrade. I never found what=20
> causes this in portupgrade.

It's actually exactly what would happen if you did:

   # cd /usr/ports/mail/postfix
   # make install

ie. The OPTIONS settings are only processed after the BUILD_DEPENDS
dependencies have been fulfilled.  This is mostly because OPTIONS process=
ing
always used to happen through the inclusion of bsd.port.pre.mk
=20
As of a few months ago, there is now a bsd.port.options.mk standard Makef=
ile
that can be included earlier in the port's Makefile and that has an effec=
t
much earlier in the build process, but it depends on port maintainers
updating their ports to take account of this.  (So far, I've only updated=

one of my ports -- textproc/sphinxsearch -- but I was planning to deal wi=
th
the rest Real Soon Now.)

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


--------------enigA4DE175F169368BFFD667F18
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAksqNOIACgkQ8Mjk52CukIx7DgCfaWaDrgJ2HeFUv8xZeaP+KChz
uxwAn1vJP853u5WCOTKYoKRxhKtRlmeJ
=qvQP
-----END PGP SIGNATURE-----

--------------enigA4DE175F169368BFFD667F18--



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