public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] autotools.eclass and binary packages
@ 2006-08-05 14:12 Christian Heim
  2006-08-05 18:37 ` Mike Frysinger
  2006-08-05 19:32 ` Zac Medico
  0 siblings, 2 replies; 9+ messages in thread
From: Christian Heim @ 2006-08-05 14:12 UTC (permalink / raw
  To: gentoo-dev; +Cc: Martin Schlemmer, Diego Pettenò


[-- Attachment #1.1: Type: text/plain, Size: 826 bytes --]

I'm currently preparing one of my embedded system for a test-run and noticed 
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 
autotools eclasses and saw that the autotools.eclass is setting the DEPEND 
but not the RDEPEND. IIRC portage-2.1 is now setting RDEPEND to DEPEND if 
nothing other is assigned within the ebuild/eclass.

So the simplest fix would be to assign RDEPEND="" 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

-- 
Christian Heim <phreak at gentoo.org>
GPG: 9A9F68E6 / AEC4 87B8 32B8 4922 B3A9  DF79 CAE3 556F 9A9F 68E6

Your friendly mobile/kernel/vserver/openvz monkey

[-- Attachment #1.2: autotools.eclass.diff --]
[-- Type: text/x-diff, Size: 896 bytes --]

Christian Heim <phreak@gentoo.org>:
  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="${RDEPEND}" by setting RDEPEND="" explicitly!

Index: autotools.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v
retrieving revision 1.39
diff -u -b -B -r1.39 autotools.eclass
--- 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"
 
+RDEPEND=""
+
 # Variables:
 #
 #	AT_M4DIR		  - Additional director(y|ies) aclocal should search

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-08-07 23:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-05 14:12 [gentoo-dev] autotools.eclass and binary packages Christian Heim
2006-08-05 18:37 ` Mike Frysinger
2006-08-05 19:32 ` Zac Medico
2006-08-05 20:08   ` Mike Frysinger
2006-08-05 21:29     ` Zac Medico
2006-08-05 22:26       ` [gentoo-dev] implicit RDEPEND Mike Frysinger
2006-08-06  0:02         ` Zac Medico
2006-08-07 17:36         ` Carsten Lohrke
2006-08-07 23:25           ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox