On Sat, 18 Apr 2009 21:23:24 -0500 Paul Hartman <[email protected]> wrote:
> ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild unpack > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild prepare > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild configure > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild compile > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild preinst > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild install > ebuild /usr/portage/foo-bar/yourpkg-1.2.3.ebuild postinst One doesn't need to perform these steps explicitly; when one performs a command like merge, ebuild also performs all commands that normally precede merge. So I think that if he wants to tweak the source code before compiling, the easier way would be to issue a unpack command, tweak the source, then issue a merge command. But I think it would be much better to write a patch, or simply modify the distfile and create a new ebuild that uses the modified distfile. -- Software is like sex: it is better when it is free. --Linus Torvalds

