From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NoKUl-0005Ut-7s for garchives@archives.gentoo.org; Sun, 07 Mar 2010 17:42:27 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2463E09AB; Sun, 7 Mar 2010 17:42:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C044CE091A for ; Sun, 7 Mar 2010 17:42:13 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4F1C41B4089 for ; Sun, 7 Mar 2010 17:42:13 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible Date: Sun, 7 Mar 2010 12:42:10 -0500 User-Agent: KMail/1.13.1 (Linux/2.6.32.6; KDE/4.4.1; x86_64; ; ) References: <201003051359.58724.vapier@gentoo.org> <4B920013.7070002@gentoo.org> In-Reply-To: <4B920013.7070002@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2500194.mFlvqmh75k"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003071242.10944.vapier@gentoo.org> X-Archives-Salt: 9a9b0d3d-081d-4c10-a8a8-c19924546260 X-Archives-Hash: abbf9097dcac024d26f29a8761d6a0a9 --nextPart2500194.mFlvqmh75k Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 06 March 2010 02:11:15 Petteri R=C3=A4ty wrote: > On 03/05/2010 08:59 PM, Mike Frysinger wrote: > > sometimes i have optional patches (ignoring the "patches should always = be > > applied") where autotools should be run. always inheriting autotools is > > currently annoying because it always adds the related dependencies. USE > > based inherits are obviously out. > >=20 > > so unless there's some burgeoning standard i'm not aware of, below is > > what i have in mind. packages set AUTOTOOLS_AUTO_DEPEND to "no" before > > inheriting autotools.eclass and that allows them to put > > ${AUTOTOOLS_DEPEND} behind a USE flag in their own DEPEND string. >=20 > What we use in Java is JAVA_PKG_OPT_USE to declare what use flag the > DEPENDs should be under. This approach doesn't allow the ebuild > maintainer to forget adding the depends. i'm more inclined towards Jonathan's opinion, so ive kept the proposed=20 behavior (plus a fix from Torsten). =2Dmike --nextPart2500194.mFlvqmh75k Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iQIcBAABAgAGBQJLk+VyAAoJEEFjO5/oN/WBE4oQAIvKebEfVd2e1eJtfLFYCGsw k8stGB7ECvtZK+cRGA0AuI02Xwdjqx4amxiKadwJQunw3DVoo71lT4agJrNokhc1 BcFLWVM0rgq/LtLYG0ELmgPs+fXXImbVtJBeIL16rmOyNcznpzB1Gf4AG0vHInq7 VvCSq16HrNqDuybq4WVXggxIky9V/7Y5THICVU1qEZO0Idwn2wvkv9ipH2Db/f0v DCsW4PWBqwITeAqHt/P6FqyM8qitp747o4XSeqummzg4fbxYN4FfeRVKHUCBLWZ6 u+vGAPTpw7H/B49nLEKulD+khyH88UnezZpnHQuLQXiBLQgdz/0Xg+RaGPJkVBZz wB/KQj9ZK4UIugzUzj+bDvw8MWqYBDsEg4WDxZ++YRopq1pRMtkvAVZQUnEgUknZ vk9tnIMJaR250ac33nJJvvAExCQg2CWPngXU2imCIKOVk1mzacGZpNOrvnYmMfsy tIqL0QEaGKInz8bfYrZnWLyrH0ieC5BnXS8VYXD9lWuZdCGVBNZBHSliTcVV3Qck 7gft+MyoHb1cPZgH/hi9mpgip3jBTFy4geTTYPCXxJ7PximQkbobbF/4ezSYnCeB JSGDmnEMICgBOVi1olfR3fvQKgXxcXpv35VRlgt9cTg0BRRRcKhibwSwRcA/VX4l /9F3GeO/4t83j0NNoD3O =B9Lg -----END PGP SIGNATURE----- --nextPart2500194.mFlvqmh75k--