summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-01-06 01:21:00 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-01-06 01:21:00 +0000
commit0b983a8fb9794652002649f04426894f53cf5512 (patch)
treeac2560cdde1ce820b5ff326f716575651d84112f /sci-visualization/xgraph/xgraph-12.1-r2.ebuild
parentInitial commit. (diff)
downloadhistorical-0b983a8fb9794652002649f04426894f53cf5512.tar.gz
historical-0b983a8fb9794652002649f04426894f53cf5512.tar.bz2
historical-0b983a8fb9794652002649f04426894f53cf5512.zip
Removed old, respect user's CFLAGS
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'sci-visualization/xgraph/xgraph-12.1-r2.ebuild')
-rw-r--r--sci-visualization/xgraph/xgraph-12.1-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-visualization/xgraph/xgraph-12.1-r2.ebuild b/sci-visualization/xgraph/xgraph-12.1-r2.ebuild
index cdb1f45af6c3..e4e0db22233f 100644
--- a/sci-visualization/xgraph/xgraph-12.1-r2.ebuild
+++ b/sci-visualization/xgraph/xgraph-12.1-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xgraph/xgraph-12.1-r2.ebuild,v 1.5 2009/12/26 16:19:05 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/xgraph/xgraph-12.1-r2.ebuild,v 1.6 2010/01/06 01:21:00 bicatali Exp $
EAPI=2
inherit eutils autotools
@@ -22,6 +22,8 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
epatch "${FILESDIR}"/${P}-glibc-2.10.patch
+ # respect user flags
+ sed -i -e "s/-g/${CFLAGS}/" Makefile.am
eautoreconf
}