summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-08-03 16:38:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-08-03 16:38:34 +0000
commitdcbf7a4f61b779f55e475100cdf31301439dfb81 (patch)
treef63f7239184a62bf409685f121f8f59a78235888 /sys-apps
parentppc64 stable wrt #327777 (diff)
downloadgentoo-2-dcbf7a4f61b779f55e475100cdf31301439dfb81.tar.gz
gentoo-2-dcbf7a4f61b779f55e475100cdf31301439dfb81.tar.bz2
gentoo-2-dcbf7a4f61b779f55e475100cdf31301439dfb81.zip
Respect CC and LDFLAGS wrt #331057 by Olivier Huber.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/fxload/ChangeLog8
-rw-r--r--sys-apps/fxload/fxload-20081013.ebuild13
2 files changed, 16 insertions, 5 deletions
diff --git a/sys-apps/fxload/ChangeLog b/sys-apps/fxload/ChangeLog
index 261ecbf938a4..208fb55974fc 100644
--- a/sys-apps/fxload/ChangeLog
+++ b/sys-apps/fxload/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/fxload
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/ChangeLog,v 1.18 2009/09/23 20:23:29 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/ChangeLog,v 1.19 2010/08/03 16:38:34 ssuominen Exp $
+
+ 03 Aug 2010; Samuli Suominen <ssuominen@gentoo.org>
+ fxload-20081013.ebuild:
+ Respect CC and LDFLAGS wrt #331057 by Olivier Huber.
23 Sep 2009; Patrick Lauer <patrick@gentoo.org> fxload-20020411.ebuild,
fxload-20081013.ebuild:
diff --git a/sys-apps/fxload/fxload-20081013.ebuild b/sys-apps/fxload/fxload-20081013.ebuild
index 3de501f67191..c463fc8bf1db 100644
--- a/sys-apps/fxload/fxload-20081013.ebuild
+++ b/sys-apps/fxload/fxload-20081013.ebuild
@@ -1,10 +1,10 @@
-# 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/sys-apps/fxload/fxload-20081013.ebuild,v 1.2 2009/09/23 20:23:29 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fxload/fxload-20081013.ebuild,v 1.3 2010/08/03 16:38:34 ssuominen Exp $
EAPI="2"
-inherit eutils
+inherit eutils toolchain-funcs
# source maintainers named it fxload-YYYY_MM_DD instead of fxload-YYYYMMDD
MY_P="${PN}-${PV:0:4}_${PV:4:2}_${PV:6:2}"
@@ -23,7 +23,14 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_prepare() {
+ sed -i \
+ -e 's:$(CC) -o:$(CC) $(LDFLAGS) -o:' \
+ Makefile || die
+}
+
src_compile() {
+ tc-export CC
emake RPM_OPT_FLAGS="${CFLAGS}" || die
}