From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G9MvV-0001I1-Bn for garchives@archives.gentoo.org; Sat, 05 Aug 2006 14:14:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k75EE3v9025163; Sat, 5 Aug 2006 14:14:03 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k75ECAkc011594 for ; Sat, 5 Aug 2006 14:12:10 GMT Received: from celsius.my-gentoo.org (p548BEA21.dip.t-dialin.net [84.139.234.33]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2C3B7642B9; Sat, 5 Aug 2006 14:12:09 +0000 (UTC) From: Christian Heim Organization: Gentoo Foundation, Inc. To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] autotools.eclass and binary packages Date: Sat, 5 Aug 2006 16:12:01 +0200 User-Agent: KMail/1.9.4 Cc: Martin Schlemmer , Diego =?iso-8859-1?q?Petten=F2?= 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="nextPart1934741.FyVa5DRtOK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608051612.04891.phreak@gentoo.org> X-Archives-Salt: 1b24ecc4-5bd0-40da-ae6c-23c868699379 X-Archives-Hash: 7c46893c408449b105d9b51df9d30ac4 --nextPart1934741.FyVa5DRtOK Content-Type: multipart/mixed; boundary="Boundary-01=_ycK1EQVnsppy7df" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_ycK1EQVnsppy7df Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm currently preparing one of my embedded system for a test-run and notice= d=20 that a *binary* package of media-libs/libpng pulls in the autofoo-stuff. I went looking for the reason, looked into the eutils, multilib and finally= =20 autotools eclasses and saw that the autotools.eclass is setting the DEPEND= =20 but not the RDEPEND. IIRC portage-2.1 is now setting RDEPEND to DEPEND if=20 nothing other is assigned within the ebuild/eclass. So the simplest fix would be to assign RDEPEND=3D"" in the eclass [1]. If no-one objects, I will commit the changes on monday. TIA, Christian 1:http://dev.gentoo.org/~phreak/files/patches/autotools.eclass.diff =2D-=20 Christian Heim GPG: 9A9F68E6 / AEC4 87B8 32B8 4922 B3A9 DF79 CAE3 556F 9A9F 68E6 Your friendly mobile/kernel/vserver/openvz monkey --Boundary-01=_ycK1EQVnsppy7df Content-Type: text/x-diff; charset="us-ascii"; name="autotools.eclass.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="autotools.eclass.diff" Christian Heim : autotools.eclass is needlessly pulling in sys-devel/automake, sys-devel/automake-wrapper, sys-devel/autoconf, sys-devel/autoconf-wrapper sys-devel/gnuconfig, sys-apps/texinfo sys-devel/libtool, sys-devel/m4 and dev-lang/perl including dependencies for binary packages. Prevent portage from setting RDEPEND=3D"${RDEPEND}" by setting RDEPEND=3D"" explicitly! Index: autotools.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v retrieving revision 1.39 diff -u -b -B -r1.39 autotools.eclass =2D-- autotools.eclass 3 Jul 2006 18:42:54 -0000 1.39 +++ autotools.eclass 5 Aug 2006 13:58:51 -0000 @@ -16,6 +16,8 @@ sys-devel/autoconf sys-devel/libtool" =20 +RDEPEND=3D"" + # Variables: # # AT_M4DIR - Additional director(y|ies) aclocal should search --Boundary-01=_ycK1EQVnsppy7df-- --nextPart1934741.FyVa5DRtOK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBE1Kc0yuNVb5qfaOYRAm/wAKC2OKB+KtbUB6BcD99AJ/HBZInEDgCgr/ec 6tglKUw2LPRoAiaaFPRdlgQ= =gKHP -----END PGP SIGNATURE----- --nextPart1934741.FyVa5DRtOK-- -- gentoo-dev@gentoo.org mailing list