Nikos Chantziaras:

> Is there a way to enable debugging symbols only for some packages?  I 
> need to do that for about 15 packages.  Currently, all I can do is edit 
> make.conf all the time when emerging one of those and add "-g" to CFLAGS 
> and "splitdebug" to FEATURES.  But I *always* forget about it the first 
> time, ending up building twice.

*g*

I would probably do it this way. Having a make.conf-normal and a
make.conf-special and a file containing the names of the 15 packages.

Then an executable shell script with the name emerge in /usr/local/bin
with /usr/local/bin in the path before /usr/bin and in this script:

- test if the package to emerge is in the file
- if so, copy make.conf-special to make.conf else copy make.conf-normal
to make.conf.
- then execute /usr/bin/emerge for the package to emerge

But you have to avoid running multiple emerge at the same time. ;)

Hartmut
-- 
Notwendig, weil hier meine privaten Patche fehlen


Reply via email to