* "Matsuu Takuto (matsuu)" <[EMAIL PROTECTED]>:
> Revision  Changes    Path
> 1.1                  x11-wm/awesome/awesome-1.2.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/awesome/awesome-1.2.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/awesome/awesome-1.2.ebuild?rev=1.1&content-type=text/plain
 
> src_unpack() {
>       unpack ${A}
>       cd "${S}"
> 
>       sed -i \
>               -e "/^CFLAGS/s/=.*-O3/= ${CFLAGS}/" \
>               -e "/^LDFLAGS/s/-ggdb3/${LDFLAGS}/" \
>               -e "/^CC/s/cc/$(tc-getCC)/" \
                         ^^^^^^^^^^^^^^^^^
This fails if tc-getCC returns the path to the compiler, if tc-getCC
contains a slash.

>               -e "s:/usr/lib:/usr/$(get_libdir):" \
>               -e "s:/usr/local:/usr:" \
>               config.mk || die "sed failed"
> }

-- 
.:             Torsten                 |                               :.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to