--- bigloo-3.2b_p2.ebuild.orig 2009-09-10 20:41:13.000000000 -0300 +++ bigloo-3.2b_p2.ebuild 2009-09-10 20:20:13.000000000 -0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-scheme/bigloo/bigloo-3.2b_p2.ebuild,v 1.1 2009/06/04 12:21:37 hkbst Exp $ -inherit elisp-common multilib eutils +inherit elisp-common multilib eutils flag-o-matic MY_P=${PN}${PV/_p/-} MY_P=${MY_P/_alpha/-alpha} @@ -29,7 +29,17 @@ IUSE="bee emacs java" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/biglooinstall.patch +} + src_compile() { + # -fomit-frame-pointer conflics -pg + filter-flags -fomit-frame-pointer + + # Bigloo doesn't use autoconf and consequently a lot of options used by econf give errors # Manuel Serrano says: "Please, dont talk to me about autoconf. I simply dont want to hear about it..." ./configure \ @@ -40,17 +50,15 @@ --libdir=/usr/$(get_libdir) \ --docdir=/usr/share/doc/${PF} \ --benchmark=yes \ - --sharedbde=no \ - --sharedcompiler=no \ - --customgc=no \ --coflags="" \ + --customgc=no \ --bee=$(if use bee; then echo full; else echo partial; fi) emake || die "emake failed" if use bee; then einfo "Compiling bee..." - emake compile-bee || die "compiling bee failed" + emake -j1 compile-bee || die "compiling bee failed" fi if use emacs; then @@ -68,7 +76,7 @@ emake DESTDIR="${D}" install || die "install failed" if use bee; then - emake DESTDIR="${D}" install-bee || die + emake DESTDIR="${D}" install-bee || die "install bee failed" fi if use emacs; then