Gentoo Archives: gentoo-dev

From: Bob Phan <bob@×××××××××.com>
To: Gentoo Dev <gentoo-dev@g.o>
Subject: [gentoo-dev] Is it acceptable to use 'sed' in ebuild scripts?
Date: Mon, 04 Feb 2002 22:38:26
Message-Id: 20020205074151.538ab331.bob@evil-core.com
1 Hello, I've just recently created an ebuild for nethack (put it in
2 app-games/nethack), however, it's build does not use the standard GNU
3 autoconf/automake system, but rather forces you to manually edit a config.h
4 file. Currently, I have just made a patch for X support that is applied when
5 you "use X". I would like to add Qt and GNOME optional support, but using
6 patches, it is very difficult to have one without the other, or the context
7 will not match (very messy). I was instead wondering if using 'sed' within
8 ebuild scripts was accepted practice, or if I should stick a dependancy for
9 sed at the top of the file.
10
11 Thanks for any help. I plan on writing a few more (hopefully more trivial)
12 ebuild scripts for any other software I run across. Also, where should I
13 submit the ebuild after it's ready?
14
15 Thanks again,
16 Bob
17
18 PS. Great distro. It's the first I have yet to use where I haven't
19 immediately found something I disliked, on top of its many other
20 merits. Good work!
21
22 --
23 /*
24 * Bob Phan <bob@×××××××××.com,rphan@××××.com>
25 * Computational Chemistry Informatics
26 * Neurogen Corporation
27 * (203)488-8201 x4645
28 *
29 * To understand recursion, you must first understand recursion.
30 */

Replies

Subject Author
Re: [gentoo-dev] Is it acceptable to use 'sed' in ebuild scripts? Einar Karttunen <ekarttun@×××××××××××.fi>