Sven Wegener posted <[EMAIL PROTECTED]>,
excerpted below,  on Thu, 07 Jul 2005 02:04:04 +0200:

> We would like to split up src_compile. The new src_configure should just
> do the econf part and src_compile should do the emake part. This
> represents the general 3-step[1] installation in a much better way.
> 
> [1] ./configure && make && make install

HALLELUJAH and much rejoicing!  The current combined configure/make step
frustrated me from the first time I looked at it.  I couldn't figure out
(and still can't) why a step-by-step modularized system, ostensibly
designed to allow local customization and troubleshooting, would combine
those two into a single step.  However, being a lowly user, new to Gentoo
at the time, I figured there had to be some major reason for ignoring
something so obvious, and just lived with it, by doing ebuild unpack, then
manually running the configure and make steps separately if needed, before
finishing up with ebuild package and then emerge --packageonly.

If the change is going to be implemented, please do so using something
similar to the current tracking system, whereby if a step is done
manually, one can simply touch a .action file to tell portage about it,
and have it continue with the next step.  (This bit me with the current
compile and .compiled file step, because the compile step does more than
compile, creating some metadata files as well.  I ended up creating a
local portage patch that I faithfully apply to each update, that allows me
to run the compile step without doing the actual compile, just updating
the metadata, so that it gets packed into the binpkg correctly, even when
I did the actual compile manually.  A second local portage patch makes
ebuild skip the install step if the .installed file is there. 
Unfortunately, while ebuild creates the file, it doesn't skip that step
if it exists, as it does with .unpacked, .compiled, etc.)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-dev@gentoo.org mailing list

Reply via email to