Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18705 - Patch to rrdtool ebuild to strip out -mfpmath=sse
Summary: Patch to rrdtool ebuild to strip out -mfpmath=sse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dylan Carlson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-03 14:34 UTC by Zoltan Patay
Modified: 2003-04-03 15:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltan Patay 2003-04-03 14:34:45 UTC
rrdtool wont build with -mfpmath=sse 
I use that flag to speed things up on p3 compatibles  
 
I added a line to the ebuild to strip the flag out: 
 
filter-flags "-mfpmath=sse" 
 
I have placed it between the IUSE and DEPEND 
 
It is necessary for all ebuilds of rrdtool. 
 
Here is the begining of the ebuild to show: 
 
# Copyright 1999-2003 Gentoo Technologies, Inc. 
# Distributed under the terms of the GNU General Public License v2 
# $Header: 
/home/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.41.ebuild,v 1.1 
2003/03/13 10:07:59 absinthe Exp $ 
 
inherit perl-module 
 
DESCRIPTION="A system to store and display time-series data" 
SRC_URI="http://people.ee.ethz.ch/%7Eoetiker/webtools/rrdtool/pub/${P}.tar.gz" 
HOMEPAGE="http://ee-staff.ethz.ca/~oetiker/webtools/rrdtool/" 
 
SLOT="0" 
LICENSE="GPL-2" 
KEYWORDS="x86 ~ppc ~sparc" 
IUSE="tcltk perl" 
 
filter-flags "-mfpmath=sse" 
 
DEPEND="perl? ( dev-lang/perl ) 
	sys-apps/gawk 
	>=media-libs/libgd-1.8.3" 
RDEPEND="tcltk? ( dev-lang/tcl )" 
 
TCLVER="" 
 
----SNIP---
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-03 14:39:50 UTC
should we relly filter this out ?
not a relly heavy used flag
Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2003-04-03 15:53:44 UTC
If it won't build, I agree that it should be filtered for now. 
I have tested this; 1.0.41 is updated and x86 moved to stable. 
 
Thanks for your bug report!  Kudos