summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-12-16 08:07:42 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-12-16 08:07:42 +0000
commite0b25d7638a95ba20540e41fa6384fc0963a801f (patch)
treeb3c984d9a740c9095f52079dbd79dbc887c90a98 /app-misc
parenttry 3 (diff)
downloadlu_zero-e0b25d7638a95ba20540e41fa6384fc0963a801f.tar.gz
lu_zero-e0b25d7638a95ba20540e41fa6384fc0963a801f.tar.bz2
lu_zero-e0b25d7638a95ba20540e41fa6384fc0963a801f.zip
other workarounds for autotools glitches
svn path=/; revision=74
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/spe-samples/spe-samples-1.0.ebuild7
1 files changed, 7 insertions, 0 deletions
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"
}