--- qemacs-0.3.1-r3.ebuild 2006-09-19 20:35:53.000000000 +0200 +++ /tmp/qemacs-0.3.1-r3.ebuild 2006-09-19 20:35:02.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/qemacs/qemacs-0.3.1-r3.ebuild,v 1.4 2006/08/09 15:54:04 kugelfang Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="QEmacs (for Quick Emacs) is a very small but powerful UNIX editor." HOMEPAGE="http://fabrice.bellard.free.fr/qemacs/" @@ -55,7 +55,7 @@ src_compile() { # when using any other CFLAGS than -O0, qemacs will segfault on startup, see bug #92011 - CFLAGS="-O0" + replace-flags -O? -O0 econf $(use_enable X x11) \ $(use_enable png) \ $(use_enable xv) \