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 1NoLLL-0005mA-QD for garchives@archives.gentoo.org; Sun, 07 Mar 2010 18:36:48 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22F8CE0B02; Sun, 7 Mar 2010 18:36:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C681DE0AEB for ; Sun, 7 Mar 2010 18:36:41 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 484281B4248 for ; Sun, 7 Mar 2010 18:36:41 +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 13:36:39 -0500 User-Agent: KMail/1.13.1 (Linux/2.6.32.6; KDE/4.4.1; x86_64; ; ) References: <201003051359.58724.vapier@gentoo.org> <201003071242.10944.vapier@gentoo.org> <4B93F11C.9090203@gentoo.org> In-Reply-To: <4B93F11C.9090203@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="nextPart1544852.j4hi5K5fIu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003071336.39657.vapier@gentoo.org> X-Archives-Salt: a6348816-ce81-4fbb-8b73-72396828b83c X-Archives-Hash: 1dfae6a0d807e46d7f04732aaf9ffe9d --nextPart1544852.j4hi5K5fIu Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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" befo= re > >>> 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. > >=20 > > i'm more inclined towards Jonathan's opinion, so ive kept the proposed > > behavior (plus a fix from Torsten). >=20 > And what about my latest response to him? considering your proposal saves ${FOO} in DEPEND, it hasnt changed my opini= on =2Dmike --nextPart1544852.j4hi5K5fIu 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/I3AAoJEEFjO5/oN/WBl7MP/3I8sbmz7J+GJtqnAEHiJYnX Bn+JszzeJoESf0VDRDXGoqRXMktA8uKwAyCRvurjhbDVZ6Y3RQLJZSPKQJ0wGu31 otpysZimmiAVNw3ErGObOD3Ej+mzaPvSvaaHZTCUnck52wMFEYudOFUNm0WWRbgG 5L/XuzSf6NYn7tsc2E/cB8pRyLpa2ikMbhEOsBJayVWrmip9zH3P1hrc85Qoczix m7oMjJbNgYv5U2bebQ7FqdoZZO7hbGUegKXHIxchhYs5AA0ybNiFECLF/iLkV4j6 Zgi9f3o5+JjavmZH9SfNkrML04eSJ4jHx4IRqNvnuoQwWyi9aaLAwkmpLxZWU+Uc qWeU/IYxhYxQ6vSjFvoaTylnhdgZr5xQmywWDWHW/w9fYFrEIqq9n5WZxP4JKHna F+YjeQmd0T/9bc0/rLqeYKUA/5Q4Uf2fUI8UtkkigJlJy4F6RsRJGKr5Hy+4Wrq5 ZLPMznDstV9hr2f3Y69s4b7nmgpFRH5zng4wvZ7/A7k2OaP6ZHLeN7qUDAFI5NY8 D3FhKvwhc8lne9ZWTuCsYnbwl2U6xPXdkk8B7eSZ5u15RUxh8odW9Rb4KotjUw6V uL/cB6DkEQKe3MPT+SqKl/hpoN4MB728Vlg/7nxls3mb12fQe6HX7TM6OQBsIBa5 vDnSLKyoRBFZ27yUit13 =JgFs -----END PGP SIGNATURE----- --nextPart1544852.j4hi5K5fIu--