From 83791bd641df3e8ae92f8ef47f7eae85636234fd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 20 Dec 2004 16:25:26 +0000 Subject: [PATCH] hppa stable #72440 --- dev-libs/fftw/fftw-3.0.1-r1.ebuild | 43 ++++++++++++++---------------- dev-libs/xplc/xplc-0.3.10.ebuild | 4 +-- 2 files changed, 22 insertions(+), 25 deletions(-) diff --git a/dev-libs/fftw/fftw-3.0.1-r1.ebuild b/dev-libs/fftw/fftw-3.0.1-r1.ebuild index 4fd84e36b1d6..25c8d4b4e837 100644 --- a/dev-libs/fftw/fftw-3.0.1-r1.ebuild +++ b/dev-libs/fftw/fftw-3.0.1-r1.ebuild @@ -1,35 +1,19 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.10 2004/11/22 23:37:32 gmsoft Exp $ - -IUSE="3dnow altivec mpi sse" +# $Header: /var/cvsroot/gentoo-x86/dev-libs/fftw/fftw-3.0.1-r1.ebuild,v 1.11 2004/12/20 16:25:26 vapier Exp $ inherit flag-o-matic eutils gcc DESCRIPTION="C subroutine library for computing the Discrete Fourier Transform (DFT)" +HOMEPAGE="http://www.fftw.org/" SRC_URI="http://www.fftw.org/${P}.tar.gz" -HOMEPAGE="http://www.fftw.org" -SLOT="3.0" LICENSE="GPL-2" -DEPEND="virtual/libc" - -KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 amd64 ~ppc-macos ~hppa" - -#-fpmath=xx is reported to cause trouble on pentium4 m series -#(for 3.0.x: this sort of thing should be handled by the --enable-sse -#style configure flags. these are set below using the use variables, -#but under gcc-3.2.x, sse2 seems to cause trouble.) -filter-mfpmath - -# in gcc 3.2.3 at least, using sse or sse2 causes trouble with -O3 -# according to the docs, -O0 can cause trouble too! So pending further -# testing, ... +SLOT="3.0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~ia64 amd64 ~ppc-macos hppa" +IUSE="3dnow altivec mpi sse" -if use sse; then - filter-flags -O3 -O1 -O -Os - append-flags -O2 -fi +DEPEND="virtual/libc" src_unpack() { unpack "${P}.tar.gz" @@ -43,8 +27,21 @@ src_unpack() { mv ${P} ${P}-double } - src_compile() { + #-fpmath=xx is reported to cause trouble on pentium4 m series + #(for 3.0.x: this sort of thing should be handled by the --enable-sse + #style configure flags. these are set below using the use variables, + #but under gcc-3.2.x, sse2 seems to cause trouble.) + filter-mfpmath + + # in gcc 3.2.3 at least, using sse or sse2 causes trouble with -O3 + # according to the docs, -O0 can cause trouble too! So pending further + # testing, ... + if use sse; then + filter-flags -O3 -O1 -O -Os + append-flags -O2 + fi + local myconf="" local myconfsingle="" local myconfdouble="" diff --git a/dev-libs/xplc/xplc-0.3.10.ebuild b/dev-libs/xplc/xplc-0.3.10.ebuild index 6946d2360926..2fe51bf6446f 100644 --- a/dev-libs/xplc/xplc-0.3.10.ebuild +++ b/dev-libs/xplc/xplc-0.3.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xplc/xplc-0.3.10.ebuild,v 1.7 2004/12/18 18:59:42 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xplc/xplc-0.3.10.ebuild,v 1.8 2004/12/20 16:22:39 vapier Exp $ DESCRIPTION="cross platform lightweight components library for C++" HOMEPAGE="http://xplc.sourceforge.net" @@ -8,7 +8,7 @@ SRC_URI="mirror://sourceforge/xplc/${P}.tar.gz" LICENSE="LGPL-2" SLOT="0" -KEYWORDS="x86 ~sparc ~alpha ~amd64 ~ppc ~hppa" +KEYWORDS="x86 ~sparc ~alpha ~amd64 ~ppc hppa" IUSE="" DEPEND="virtual/libc -- 2.26.2