Gentoo Archives: gentoo-dev

From: Torsten Veller <tove@g.o>
To: gentoo-dev@l.g.o, matsuu@g.o
Subject: [gentoo-dev] Re: gentoo-x86 commit in x11-wm/awesome: awesome-1.2.ebuild Manifest metadata.xml ChangeLog
Date: Sat, 29 Sep 2007 23:07:54
Message-Id: 20070929225429.GA14668@veller.net
1 * "Matsuu Takuto (matsuu)" <matsuu@g.o>:
2 > Revision Changes Path
3 > 1.1 x11-wm/awesome/awesome-1.2.ebuild
4 >
5 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/awesome/awesome-1.2.ebuild?rev=1.1&view=markup
6 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/awesome/awesome-1.2.ebuild?rev=1.1&content-type=text/plain
7
8 > src_unpack() {
9 > unpack ${A}
10 > cd "${S}"
11 >
12 > sed -i \
13 > -e "/^CFLAGS/s/=.*-O3/= ${CFLAGS}/" \
14 > -e "/^LDFLAGS/s/-ggdb3/${LDFLAGS}/" \
15 > -e "/^CC/s/cc/$(tc-getCC)/" \
16 ^^^^^^^^^^^^^^^^^
17 This fails if tc-getCC returns the path to the compiler, if tc-getCC
18 contains a slash.
19
20 > -e "s:/usr/lib:/usr/$(get_libdir):" \
21 > -e "s:/usr/local:/usr:" \
22 > config.mk || die "sed failed"
23 > }
24
25 --
26 .: Torsten | :.
27 --
28 gentoo-dev@g.o mailing list

Replies