Gentoo Archives: gentoo-dev

From: Nicolas Kaiser <nikai@×××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Sylpheed/-claws headers with "gentoo"
Date: Thu, 25 Jul 2002 06:00:15
Message-Id: 20020725125805.2ac881dc.nikai@nikai.net
1 Hi there.
2
3 I think it would be nice to have "gentoo" in Sylpheeds X-Mailer and
4 X-Newsreader headers, just like Debian and SuSE are doing it.
5
6 I'd like to propose the following patch, which will replace
7
8 X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i686-pc-linux-gnu)
9 X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; powerpc-unknown-linux-gnu)
10 with
11 X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; i686-gentoo-linux-gnu)
12 X-Mailer: Sylpheed version 0.8.0 (GTK+ 1.2.10; ppc-gentoo-linux-gnu)
13
14 Is it a good idea to use 'uname -m'? I prefer "ppc" over "powerpc".
15 Is there any situation where you need "--host=${CHOST}" in this ebuild?
16 It's building fine on my iBook without.
17
18 Have a nice day,
19 Nicolas
20
21
22 diff -u net-mail/sylpheed/sylpheed-0.8.0.ebuild.orig net-mail/sylpheed/sylpheed-0.8.0.ebuild
23 --- net-mail/sylpheed/sylpheed-0.8.0.ebuild.orig 2002-07-25 12:45:52.000000000 +0200
24 +++ net-mail/sylpheed/sylpheed-0.8.0.ebuild 2002-07-25 12:48:35.000000000 +0200
25 @@ -42,8 +42,8 @@
26
27 ./configure \
28 --prefix=/usr \
29 - --host=${CHOST} \
30 - --enable-ipv6 $myconf || die
31 + --enable-ipv6 $myconf \
32 + `uname -m`-gentoo-linux-gnu || die
33 emake || die
34 }
35
36
37
38 --
39 Registered Linux User #223623 http://counter.li.org
40 http://freshmeat.net/~nikai
41 http://sf.net/users/nikai
42 12:58pm up 1:37, bogomips: 799.53 War wieder spät gestern