View Single Post

   
  #2 (permalink)  
Old 02-21-2008, 06:49 AM
Brett Holcomb
 
Posts: n/a
Default Re: working in the portage tree

Check out man ebuild. You can do the merge in stages.

Or create a /usr/local/portage directory, uncomment the line in
/etc/make.conf about using a local portage directory and then copy the
existing ebuild directory to the local one. Put your patch in the files
directory and modify the ebuild to patch it.

Lee Harr wrote:

>
> If I want to work on a package that I am having problems
> with ... say I want to try to create a patch to fix a
> bug ... What is the best way to go about that?
>
> With BSD ports, I would go in to the port directory and
> do a "make extract" or "make patch" then hack around in
> the tree for a while then go back to the port directory
> and do "make" or "make install".
>
> I figured out that I could do "emerge" then hit ctrl-c
> after it is done extracting, then hack around and do
> "emerge --resume".
>
> That works, but it seems I must just be missing a better
> way.
>
> Any tips?


--
Brett I. Holcomb
brettholcomb@R777charter.net
AKA Grunt <><
Registered Linux User #188143
Remove R777 to email
Reply With Quote