From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay4.poste.it (relay4.poste.it [62.241.4.29]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j5EHsA7M027103 for ; Tue, 14 Jun 2005 17:54:10 GMT Received: from flameeyes.is-a-geek.org (151.44.26.77) by relay4.poste.it (7.2.052.3) (authenticated as emanuela.zanon@poste.it) id 4291DC3F0009A6E4 for gentoo-dev@lists.gentoo.org; Tue, 14 Jun 2005 19:54:51 +0200 From: "Diego 'Flameeyes' =?iso-8859-1?q?Petten=F2?=" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] use.force support Date: Tue, 14 Jun 2005 19:54:34 +0200 User-Agent: KMail/1.8.1 References: <20050613144048.GB4585@lightning.stealer.net> <20050613213812.GG4585@lightning.stealer.net> <42AF17EE.3090706@egr.msu.edu> In-Reply-To: <42AF17EE.3090706@egr.msu.edu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1779131.fVVAR2t3WA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506141954.49443@enterprise.flameeyes.is-a-geek.org> X-Archives-Salt: 5a136dae-1f8b-420f-b70d-da6e1674a454 X-Archives-Hash: 41de3156d824b5b0c3cb26335ac7915d --nextPart1779131.fVVAR2t3WA Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 14 June 2005 19:46, Alec Warner wrote: > It seems like this is an abuse of USE flags, somewhat. I guess programs > could have support for elibc_X or elibc_Y or userland_GNU or > userland_DARWIN/BSD but why a USE flag for these? Because sometimes we must disable some dependency depending on the libc or = the=20 userland or the kernel used. > There isn't a use flag for kernel version, there is a > function for that. Why is there not a function to determine > userland/arch/libc? Actually there's a variable for them but as said above, variables aren't=20 allowed to change the deps. And there are quite a few dependencies which ar= e=20 needed just on some systems. Another thing is use_enable and use_with functions, takes for example kdeli= bs=20 ebuild which has a $(use_enable kernel_Linux dnotify) as dnotify support is= =20 only for Linux kernels. It's true that the forced flags shouldn't show up on emerge -pv output (at= =20 least for base ones, other which can be optional on some arch and forced on= =20 others can always show up, take for example nopie/nossp which are going to = be=20 forced on Gentoo/FreeBSD (I actually was working on a similar use.force fil= e=20 before so I already have this done locally). =2D-=20 Diego "Flameeyes" Petten=F2 Gentoo Developer (Gentoo/FreeBSD, Video, Gentoo/AMD64) http://dev.gentoo.org/~flameeyes/ --nextPart1779131.fVVAR2t3WA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBCrxnpe2h1+2mHVWMRAieLAJ4tCKpDZfVFPcJuIhFfSWnQxEVuwACghGus 5btQAFkOdF9FxR9qUZxM6cw= =Xo2n -----END PGP SIGNATURE----- --nextPart1779131.fVVAR2t3WA-- -- gentoo-dev@gentoo.org mailing list