On Wed, 2006-01-25 at 00:14 +0100, Diego 'Flameeyes' Pettenò wrote: > I think the time is mature to ask for another step of Gentoo/ALT > improvement ;) > Currently ebuilds uses a sed syntax that's mostly GNU sed 4 compatible, but > incompatible with BSD sed for instance. This is usually fine as we aliases > sed to gsed in our bashrc so that the problem in sed calls is removed. > The main problem happen with sed when called by xargs or by find, as that > ignores the aliases set in bashrc. > What I'd like to ask is, if possible, to start using gsed instead, that's > present on both GNU and other userlands with current stable version of sed > (4.1.4; ppc-macos has no problem as the 4.0.9 version uses gsed anyway). > > It might require to change the dependency over >=sys-apps/sed-4.1.4, but that > would help making portage a bit cleaner IMHO (instead of relying on sed being > the executable you need, it make sure you're using a GNU sed version) and > solves quite a few headaches for us. > > Comments about this? (Please don't tell me to do a GLEP about this)
Can you change the PATH that Portage uses to do ebuilds to favour, say, /usr/local/gentoo-bsd/wrappers/bin, first which will have a sed to gsed wrapper? -- Regards, Lisa Seelye GPG: 09CF5 2D6B8 2B72B 997A7 601BC B46B5 561E4 96FC5 http://www.thedoh.com/~lisa/site
signature.asc
Description: This is a digitally signed message part