mgorny at gentoo
Apr 23, 2012, 9:18 PM
Post #7 of 16
On Tue, 24 Apr 2012 00:14:15 -0400
Alexandre Rostovtsev <tetromino [at] gentoo> wrote:
> On Tue, 2012-04-24 at 06:05 +0200, Michał Górny wrote:
> > On Mon, 23 Apr 2012 22:45:36 -0500
> > Doug Goldstein <cardoe [at] gentoo> wrote:
> > > So I've just had one reservation when using epatch_user for
> > > allowing users to apply patches. And that's figuring out when to
> > > run eautoreconf. I don't necessarily want to run it
> > > unconditionally but sometimes users have patches which touch
> > > autoconf files but my existing patch set doesn't so I'm not
> > > calling eautoreconf. Does anyone have a suggested way to handle
> > > this?
> > inherit autotools-utils
> That doesn't help the numerous packages that don't ship some of the
> autoconf macros they use in their source tarball, and therefore
> require additional build-time dependencies (gnome-common, gtk-doc-am,
> and so forth) to provide the macros needed for eautoreconf.
We can't help them unless you want the whole tree (including those
packages) to forcedly depend on them.
It's simply better just to assume: if user wants user patches, he/she
needs to have necessary deps installed.