Gentoo Archives: gentoo-user

From: Franz Fellner <alpine.art.de@×××××.com>
To: gentoo-user@l.g.o
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ?
Date: Sun, 29 Mar 2015 06:05:27
Message-Id: 55179648d9c2b_1f098b304c@TP_L520.notmuch
In Reply to: Re: [gentoo-user] Re: configure.ac and Makefile.am easy_view ? by Michael Orlitzky
1 Michael Orlitzky wrote:
2 > On 03/28/2015 01:40 PM, Todd Goodman wrote:
3 > >>
4 > >> Some ebuilds may patch configure.ac or Makefile.am -- in that case it's
5 > >> a little harder. I'm sure there's an elegant way to do it, but what I
6 > >> usually do is begin to emerge the package and Ctrl-C it when it starts
7 > >> compiling. Then you can find the sources under /var/tmp/portage.
8 > >>
9 > >
10 > > Wouldn't 'ebuild <ebuild_file_name> prepare' do what you want without
11 > > trying to time a Ctrl-C?
12 > >
13 >
14 > Yeah, but I have to be in the directory where the ebuild lives for that
15 > to work. `emerge foo` works anywhere. It's also more flexible -- if I
16 > want the *unpatched* files, I just Ctrl-C earlier =)
17
18 The ebuild-command works from every directory (at least for me ;)), you don't need to be inside
19 the directory where the ebuild lives.
20 And to get the unpatched src tree simply use "ebuild <EBUILD> unpack". After that you
21 can run "ebuild <EBUILD> prepare" to prepare (e.g. patch) the sources. That's way easier to get
22 a well defined result than hitting C-c :)

Replies

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