Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2006 18:53:53 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        martinko <martinkov@pobox.sk>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports structure and improvement suggestions
Message-ID:  <20060513165353.GA1025@roadrunner.informatik.uni-wuerzburg.de>
In-Reply-To: <e3taut$8tt$1@sea.gmane.org>
References:  <20060508200926.GA6005@daemons.gr> <1147119806.18944.59.camel@ikaros.oook.cz> <20060508203709.GA32661@daemons.gr> <747dc8f30605090333s39680f91l79a2beddd2f8b829@mail.gmail.com> <20060509144751.GU3099@numachi.com> <790a9fff0605090831o4e8efbaarf53ca844bb348758@mail.gmail.com> <e3taut$8tt$1@sea.gmane.org>

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

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

martinko wrote:
> Scot Hetzel wrote:
> > The problem with pkgtools.conf (and all the other port management
> > tools) is that it only works for the port that you are currently
> > building.  If that port has dependancies, the settings in
> > pkgtools.conf for the dependancies are not applied to the dependent
> > port.  Instead you need to build the dependent ports first.
> >=20
> > Where as putting the variable into make.conf, will allow the dependent
> > port to always build with that setting.
>=20
> why is it so ??
> i discovered this some time ago but have always been wondering why does
> it work this "unlogical" way..

Very simple,

portinstall tries to install port A with settings from pkgtools.conf.
make(1) decides port A depends on port B, which is not yet installed.
make(1) will install B (*without* the settings in pkgtools.conf, of
course).

The workaround would be to 'portinstall B; portinstall A', but this is
impractical of course.

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--LQksG6bCIzRHxTLp
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEZg8h524iJyD+6d0RAqh1AJ0SoS5fCWDtfU/vDiS0xQZfanbDqACaArql
oa9bNT4XRN8dJ7RYEAJLCqQ=
=Wj9n
-----END PGP SIGNATURE-----

--LQksG6bCIzRHxTLp--



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