On Mon, Mar 28, 2005 at 06:06:17PM +0200, Diego Flameeyes Pettenà wrote:
> Hi,
Hi :)

> As perl is not in the core packages, using this requires adding perl to the 
> buildtime dependency of the package. This is anyway an useless dependency as 
> it isn't needed for something like that.
It looks like perl is in the base system. Take a look into
/usr/portage/profiles/base/packages:

*dev-lang/perl

> A good replacement for it is using sed -i -e expression file, which is the 
> same thing.
> 
> Please also note that using a sintax like that:
> 
> sed -e expression file file file -i
> 
> just works on gsed, but doesn't work with other sed implementations (bsdish, 
> macos, solaris, ...). -i must be put before any -e!
> 
> Please update the erroneous ebuild, as these could make problems when 
> gentoo/non-linux-os .
> 
But I generally agree that it's not necessary to use perl where sed
is sufficient. :)

-- 
Jan Brinkmann : Gentoo Developer (Amd64, Java, Sound, Video)
Email:          luckyduck (at) gentoo.org
Web:            http://the-luckyduck.de
GPG:            gpg --keyserver pgp.mit.edu --recv-key 0xE38C3BBF

Attachment: pgpfEceT67Vzs.pgp
Description: PGP signature

Reply via email to