On Sunday 19 April 2009 03:33:18 Denis wrote: > Hello all, > > I am using a package called Rasmol, which is used for visualization of > molecular structures. This software uses a certain table for atomic > sizes, and I need to change some values in that table - it is stored > in a header file within Rasmol source code. There is an ebuild for > Rasmol, and it works fine - but what I'm wondering is how I can tell > portage to STOP once it unpacks Rasmol in the temporary work directory > - so I can tweak some things in the source code - and then resume the > build, using what's already in the work directory. Looking at a > manpage for emerge, I didn't immediately get any creative ideas, but > might someone offer some advice for how to accomplish this?
Doing this manually is a pain. Copy the ebuild to your personal overlay and modify it to do what you want. Full detials are in man 5 ebuild, including a full list of all functions available to you and the various stages with hooks that portage provides. You will be wanting to perform a sed in src_prepare, methinks. Or manipulate ECONF in src_compile if the package provides a way to adjust the values you are interested in. -- alan dot mckinnon at gmail dot com

