diff options
-rw-r--r-- | sys-block/fio/ChangeLog | 7 | ||||
-rw-r--r-- | sys-block/fio/fio-1.34.ebuild | 13 |
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" |