public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Christian Heim <phreak@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Martin Schlemmer" <azarah@gentoo.org>,
	"Diego Pettenò" <flameeyes@gentoo.org>
Subject: [gentoo-dev] autotools.eclass and binary packages
Date: Sat, 5 Aug 2006 16:12:01 +0200	[thread overview]
Message-ID: <200608051612.04891.phreak@gentoo.org> (raw)


[-- 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 --]

             reply	other threads:[~2006-08-05 14:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-05 14:12 Christian Heim [this message]
2006-08-05 18:37 ` [gentoo-dev] autotools.eclass and binary packages 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608051612.04891.phreak@gentoo.org \
    --to=phreak@gentoo.org \
    --cc=azarah@gentoo.org \
    --cc=flameeyes@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox