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 1NoLrU-000375-0z for garchives@archives.gentoo.org; Sun, 07 Mar 2010 19:10:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E253E0B7C; Sun, 7 Mar 2010 19:09:55 +0000 (UTC) Received: from petteriraty.eu (host.petteriraty.eu [188.40.80.83]) by pigeon.gentoo.org (Postfix) with ESMTP id 11D25E0B3E for ; Sun, 7 Mar 2010 19:09:34 +0000 (UTC) Received: from [82.130.46.229] (qob5.kyla.fi [82.130.46.229]) by petteriraty.eu (Postfix) with ESMTPSA id 212D52C7CB for ; Sun, 7 Mar 2010 19:09:33 +0000 (UTC) Message-ID: <4B93F9AD.9020907@gentoo.org> Date: Sun, 07 Mar 2010 21:08:29 +0200 From: =?UTF-8?B?UGV0dGVyaSBSw6R0eQ==?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; fi; rv:1.8.1.23) Gecko/20090916 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [rfc] making autotools.eclass depends flexible References: <201003051359.58724.vapier@gentoo.org> <201003071242.10944.vapier@gentoo.org> <4B93F11C.9090203@gentoo.org> <201003071336.39657.vapier@gentoo.org> In-Reply-To: <201003071336.39657.vapier@gentoo.org> X-Enigmail-Version: 1.0.1 OpenPGP: id=B8E4ECF0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig6EBF58FEE619CB8DF480D1D2" X-Archives-Salt: 6863ec69-bb8a-44df-8171-c5b342f721f3 X-Archives-Hash: fe9b202b464140e458712dedf7ed4c27 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6EBF58FEE619CB8DF480D1D2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/07/2010 08:36 PM, Mike Frysinger wrote: > On Sunday 07 March 2010 13:31:56 Petteri R=C3=A4ty wrote: >> On 03/07/2010 07:42 PM, Mike Frysinger wrote: >>> 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 alw= ays >>>>> 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. >>>>> >>>>> 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" be= fore >>>>> inheriting autotools.eclass and that allows them to put >>>>> ${AUTOTOOLS_DEPEND} behind a USE flag in their own DEPEND string. >>>> >>>> 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 propose= d >>> behavior (plus a fix from Torsten). >> >> And what about my latest response to him? >=20 > considering your proposal saves ${FOO} in DEPEND, it hasnt changed my o= pinion > -mike Why would it be better to require ebuild writers to have do it themselves instead of the eclass automatically taking care of it? Regards, Petteri --------------enig6EBF58FEE619CB8DF480D1D2 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.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJLk/mwAAoJEPeUsk245Ozw8csP/0mhwW00HEZIiV+qaMMTLuXu SGXF/gKI3TY2NUzODHH2HNP48j+JSwpBcJDb25b1HWZLxcrQwTOEa6aSBvlPZW9A XL/ZeJ78Rm1q/lLTJr5pmS9vsq/3TDUuu8Uqe9uDSHdOEdTFwRl1cgT+dcN61m8E w9eevZEH9PRGepfpXWGrzWAzRgXZ8AR6IQe36ixkM8f2zyQDrriEtAi4WVYXPDqG O6y1HrGoPPz5fRwTUo+3Z8+Bu3zFjLEv8E+bzcGio7JfgjD2uVYsZOBDhsJkasWj n/ecU16OLBvnwFRKdHAFXkM1Rv+O7PxW7XP8b3tcT+cUdR2FcjRkpwlQbIy6h4PU p9GNP3WyXdOEA5sKtsNI0EmSe3JDNZFLkRWQQx1eEHKr+bWq3ELqn6t6Q49ed4Iw 4fa5CJpcGd+Uih2sHfDs8PlFOUO95s8XQAWw0acgWlQoG5a/Qv0VW+8jMmXH32Kx 4CvH3ANXhgGDTbpWwjVZAFJvfNWLqsRbvtnahZWV8joIEznD46GJRmiKz8GJZDCI xC4d00PwG3D/g0qLZYbTqwl0+xDuFKeD+gXG6sb6HANPMmkkiAomNTZUOmVY/oSH f3dFTO1bHQhTC/S0M+r3OseV5DkNErVEwzGp6IVGJfqisZQ/EOKQOQvAnq/liseE n0ll+wgS/OMEkKtS2oGD =TYed -----END PGP SIGNATURE----- --------------enig6EBF58FEE619CB8DF480D1D2--