Prereq: 1.1 Index: btail/btail-0.2.ebuild =================================================================== --- btail/btail-0.2.ebuild {cset 7591bd87-1d7d-42a4-ac32-ce9f301a5d67} +++ btail/btail-0.2.ebuild {local clone} @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/btail/btail-0.2.ebuild,v 1.1 2005/01/02 17:11:15 stuart Exp $ -inherit eutils +inherit toolchain-funcs DESCRIPTION="Bayesian logfile filter" HOMEPAGE="http://www.vanheusden.com/btail/" @@ -16,8 +16,14 @@ IUSE="" DEPEND="sys-libs/gdbm" #RDEPEND="" -src_compile() { - make || die "make failed" +src_unpack() { + unpack ${A}; cd ${S} + + sed -i -e 1iCXX=$(tc-getCXX) \ + -e "s,^\(CXXFLAGS=\).*$,\1${CXXFLAGS}," \ + -e "s,^\(LDFLAGS=\),&${LDFLAGS} ," \ + -e "s,\$(CC) -Wall -W,$(tc-getCXX)," \ + Makefile } src_install() {