--- ecls-10.4.1.ebuild.orig 2010-05-05 12:13:07.000000000 +1200 +++ ecls-10.4.1.ebuild.orig 2010-05-05 12:04:24.000000000 +1200 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-10.4.1.ebuild,v 1.1 2010/04/12 11:53:52 grozin Exp $ EAPI=3 -inherit eutils multilib +inherit eutils multilib flag-o-matic MY_P=ecl-${PV} @@ -32,6 +32,15 @@ ewarn "USE flags gengc and precisegc are experimental" ewarn "Don't use them if you want a stable ecl" fi + + # ecls is allergic to the altivec instruction set found in ppc + # and most certainly ppc64 hardware. + # the flags are appended as appropriate -mcpu and -mtune flags + # turns altivec on. + if use ppc ; then + append-flags "-mno-altivec -mabi=no-altivec" + fi + } src_prepare() {