Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?
Date: Sat, 28 Mar 2015 17:40:18
Message-Id: 20150328174011.GN5936@ns1.bonedaddy.net
In Reply to: Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ? by Michael Orlitzky
1 * Michael Orlitzky <mjo@g.o> [150328 12:11]:
2 > On 03/28/2015 10:36 AM, James wrote:
3 > > James <wireless <at> tampabay.rr.com> writes:
4 > >
5 > >
6 > >> Often, I need to inspect and ponder these files: configure.ac and Makefile
7 > >> .am for a given ebuild. Is there an easy way to look at them with
8 > >> compiling the ebuild ?
9 > >
10 > > oops,
11 > >
12 > > Should be : Often, I need to inspect and ponder these files: configure.ac
13 > > and Makefile.am for a given ebuild. Is there an easy way to look at them
14 > > *without* compiling the ebuild ?
15 > >
16 >
17 > Those files are part of the upstream tarball. The easiest way to fetch
18 > the sources without compiling them is with `emerge -f`. Then you can
19 > copy the tarball out of $DISTDIR and unpack it somewhere.
20 >
21 > Some ebuilds may patch configure.ac or Makefile.am -- in that case it's
22 > a little harder. I'm sure there's an elegant way to do it, but what I
23 > usually do is begin to emerge the package and Ctrl-C it when it starts
24 > compiling. Then you can find the sources under /var/tmp/portage.
25 >
26
27 Wouldn't 'ebuild <ebuild_file_name> prepare' do what you want without
28 trying to time a Ctrl-C?

Replies

Subject Author
[gentoo-user] Re: configure.ac and Makefile.am easy_view ? James <wireless@×××××××××××.com>
Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ? Michael Orlitzky <mjo@g.o>