--- /usr/portage/dev-db/libdbi/libdbi-0.8.3.ebuild 2009-09-23 18:33:36.000000000 +0200 +++ libdbi-0.8.3.ebuild 2011-08-07 07:34:45.000000000 +0200 @@ -32,7 +32,7 @@ src_compile() { # should append CFLAGS, not replace them - sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' src/Makefile.in + sed -i.orig -e 's/^CFLAGS = /CFLAGS += /g' $(find -name Makefile.in) econf $(use_enable doc docs) || die "econf failed" emake || die "emake failed" }