From 5e9e1c208f45b44f5fa8590ac070c3e4177052c8 Mon Sep 17 00:00:00 2001 From: Stefan Schweizer Date: Sat, 7 Apr 2007 15:49:52 +0000 Subject: Fix location for amd64 and remove USE=static, bug 173624 thanks to Georgi Chulkov , Thomas A. (gentoofan23) , philantrop and jakub (Portage version: 2.1.2.3) --- sci-libs/djbfft/ChangeLog | 7 ++++++- sci-libs/djbfft/djbfft-0.76.ebuild | 38 ++++++++++++++------------------------ 2 files changed, 20 insertions(+), 25 deletions(-) (limited to 'sci-libs/djbfft') diff --git a/sci-libs/djbfft/ChangeLog b/sci-libs/djbfft/ChangeLog index 923c39b45d43..33a497a4f117 100644 --- a/sci-libs/djbfft/ChangeLog +++ b/sci-libs/djbfft/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/djbfft # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/ChangeLog,v 1.8 2007/02/04 18:26:10 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/ChangeLog,v 1.9 2007/04/07 15:49:52 genstef Exp $ + + 07 Apr 2007; Stefan Schweizer djbfft-0.76.ebuild: + Fix location for amd64 and remove USE=static, bug 173624 thanks to Georgi + Chulkov , Thomas A. (gentoofan23) + , philantrop and jakub 04 Feb 2007; Simon Stelling djbfft-0.76.ebuild: fix multilib-strict; bug 158373 diff --git a/sci-libs/djbfft/djbfft-0.76.ebuild b/sci-libs/djbfft/djbfft-0.76.ebuild index fc117a7817d3..f87009d331d1 100644 --- a/sci-libs/djbfft/djbfft-0.76.ebuild +++ b/sci-libs/djbfft/djbfft-0.76.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/djbfft-0.76.ebuild,v 1.8 2007/02/04 18:26:10 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/djbfft/djbfft-0.76.ebuild,v 1.9 2007/04/07 15:49:52 genstef Exp $ inherit eutils flag-o-matic toolchain-funcs multilib @@ -11,7 +11,7 @@ SRC_URI="http://cr.yp.to/djbfft/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="alpha amd64 arm ~hppa ppc ppc64 sh sparc x86 ~x86-fbsd" -IUSE="static" +IUSE="" # the "check" target of the Makefile (version 0.76 at least) only checks if # all files were installed with correct permissions. Can't check that at @@ -26,41 +26,31 @@ src_unpack() { ALLOWED_FLAGS="-fstack-protector -march -mcpu -pipe -mpreferred-stack-boundary -ffast-math" strip-flags - MY_CFLAGS="$CFLAGS -O1 -fomit-frame-pointer" - use x86 && MY_CFLAGS="$MY_CFLAGS -malign-double" + MY_CFLAGS="${CFLAGS} -O1 -fomit-frame-pointer" + use x86 && MY_CFLAGS="${MY_CFLAGS} -malign-double" - if use static ; then - LIBPERMS="0644" - LIBDJBFFT="libdjbfft.a" - else - LIBPERMS="0755" - LIBDJBFFT="libdjbfft.so.${MY_PV}" - fi + LIBPERMS="0755" + LIBDJBFFT="libdjbfft.so.${MY_PV}" - unpack "${A}" + unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-gcc3.patch" epatch "${FILESDIR}/${P}-shared.patch" + sed -i -e "s:\"lib\":\"$(get_libdir)\":" hier.c - if use static ; then - echo "$(tc-getCC) $MY_CFLAGS" > "conf-cc" - else - echo "$(tc-getCC) $MY_CFLAGS -fPIC -DPIC" > "conf-cc" - fi - echo "$(tc-getCC) $LDFLAGS" > "conf-ld" + echo "$(tc-getCC) $MY_CFLAGS -fPIC -DPIC" > "conf-cc" + echo "$(tc-getCC) ${LDFLAGS}" > "conf-ld" echo "${MY_D}" > "conf-home" einfo "conf-cc: $(