summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-10-10 20:06:51 +0000
committerBjarke Istrup Pedersen <gurligebis@gentoo.org>2010-10-10 20:06:51 +0000
commitfb9c40f6c13cf1cf53e0c23a42faa8d7ca204b1a (patch)
tree8bad2b2ea3d6efa994410b72690b2fc36f52ddab /sys-block/fio
parentFix compile with swig-2. (diff)
downloadgentoo-2-fb9c40f6c13cf1cf53e0c23a42faa8d7ca204b1a.tar.gz
gentoo-2-fb9c40f6c13cf1cf53e0c23a42faa8d7ca204b1a.tar.bz2
gentoo-2-fb9c40f6c13cf1cf53e0c23a42faa8d7ca204b1a.zip
Fixing bug #335546
(Portage version: 2.2_rc91/cvs/Linux i686)
Diffstat (limited to 'sys-block/fio')
-rw-r--r--sys-block/fio/ChangeLog7
-rw-r--r--sys-block/fio/fio-1.34.ebuild13
2 files changed, 16 insertions, 4 deletions
diff --git a/sys-block/fio/ChangeLog b/sys-block/fio/ChangeLog
index 6fdb49ef054c..8ac216cc5cf5 100644
--- a/sys-block/fio/ChangeLog
+++ b/sys-block/fio/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-block/fio
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.18 2009/09/22 05:21:34 tsunam Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/ChangeLog,v 1.19 2010/10/10 20:06:51 gurligebis Exp $
+
+ 10 Oct 2010; <gurligebis@gentoo.org> fio-1.34.ebuild:
+ Fixing LDFLAGS problem wrt. bug #335546
*fio-1.34 (22 Sep 2009)
diff --git a/sys-block/fio/fio-1.34.ebuild b/sys-block/fio/fio-1.34.ebuild
index 52e4797276f3..30411041c4c5 100644
--- a/sys-block/fio/fio-1.34.ebuild
+++ b/sys-block/fio/fio-1.34.ebuild
@@ -1,6 +1,8 @@
-# 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-block/fio/fio-1.34.ebuild,v 1.1 2009/09/22 05:21:34 tsunam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/fio/fio-1.34.ebuild,v 1.2 2010/10/10 20:06:51 gurligebis Exp $
+
+EAPI="2"
inherit eutils toolchain-funcs flag-o-matic
@@ -19,6 +21,13 @@ IUSE=""
DEPEND="dev-libs/libaio"
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i \
+ -e '/filter /s:-o:$(LDFLAGS) -o:' \
+ -e '/: depend$/d' \
+ Makefile || die
+}
+
src_compile() {
append-flags -W
emake CC="$(tc-getCC)" OPTFLAGS="${CFLAGS}" || die "emake failed"