From e0b25d7638a95ba20540e41fa6384fc0963a801f Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sat, 16 Dec 2006 08:07:42 +0000 Subject: other workarounds for autotools glitches svn path=/; revision=74 --- app-misc/spe-samples/spe-samples-1.0.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app-misc/spe-samples/spe-samples-1.0.ebuild b/app-misc/spe-samples/spe-samples-1.0.ebuild index 0282957..0638df3 100644 --- a/app-misc/spe-samples/spe-samples-1.0.ebuild +++ b/app-misc/spe-samples/spe-samples-1.0.ebuild @@ -1,6 +1,7 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ +inherit libtool DESCRIPTION="Cell SPE examples" HOMEPAGE="" @@ -21,12 +22,18 @@ src_unpack() { # make sure it uses the right compiler. sed -i -e "s:spu-gcc:spu-elf-gcc:g" ${S}/*/spe/configure* # fixme: kill c++/fortran checks! + cd ${S} + elibtoolize } src_compile() { # just to be sure unset CFLAGS unset CXXFLAGS + unset CFLAGS_ppc64 + unset CFLAGS_ppc + unset LDFLAGS_ppc64 + unset LDFLAGS_ppc ./configure --prefix=/usr || die "configure failed" emake || die "build failed" } -- cgit v1.2.3-65-gdbad