On 03/28/2015 01:40 PM, Todd Goodman wrote: >> >> Some ebuilds may patch configure.ac or Makefile.am -- in that case it's >> a little harder. I'm sure there's an elegant way to do it, but what I >> usually do is begin to emerge the package and Ctrl-C it when it starts >> compiling. Then you can find the sources under /var/tmp/portage. >> > > Wouldn't 'ebuild <ebuild_file_name> prepare' do what you want without > trying to time a Ctrl-C? >
Yeah, but I have to be in the directory where the ebuild lives for that to work. `emerge foo` works anywhere. It's also more flexible -- if I want the *unpatched* files, I just Ctrl-C earlier =)