diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2012-04-19 00:14:46 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2012-04-19 00:14:46 +0000 |
commit | 1f4203385c619c272e2b2fce3d85b7b7abb8b0ba (patch) | |
tree | bb5e3664f9c440c50de16133bf91dbf4a1135d64 /sys-fs/zerofree | |
parent | Version bump (diff) | |
download | gentoo-2-1f4203385c619c272e2b2fce3d85b7b7abb8b0ba.tar.gz gentoo-2-1f4203385c619c272e2b2fce3d85b7b7abb8b0ba.tar.bz2 gentoo-2-1f4203385c619c272e2b2fce3d85b7b7abb8b0ba.zip |
Fix linking with as-needed.
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/zerofree')
-rw-r--r-- | sys-fs/zerofree/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/zerofree/zerofree-1.0.1.ebuild | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-fs/zerofree/ChangeLog b/sys-fs/zerofree/ChangeLog index 69d7d255af66..ef3f42ca7d41 100644 --- a/sys-fs/zerofree/ChangeLog +++ b/sys-fs/zerofree/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/zerofree # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/ChangeLog,v 1.1 2012/03/11 13:13:32 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/ChangeLog,v 1.2 2012/04/19 00:14:46 robbat2 Exp $ + + 19 Apr 2012; Robin H. Johnson <robbat2@gentoo.org> zerofree-1.0.1.ebuild: + Fix linking with as-needed. *zerofree-1.0.1 (11 Mar 2012) diff --git a/sys-fs/zerofree/zerofree-1.0.1.ebuild b/sys-fs/zerofree/zerofree-1.0.1.ebuild index eb1ed5d2d41f..e27034d6dec7 100644 --- a/sys-fs/zerofree/zerofree-1.0.1.ebuild +++ b/sys-fs/zerofree/zerofree-1.0.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/zerofree-1.0.1.ebuild,v 1.1 2012/03/11 13:13:32 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/zerofree/zerofree-1.0.1.ebuild,v 1.2 2012/04/19 00:14:46 robbat2 Exp $ EAPI="4" inherit eutils toolchain-funcs @@ -22,6 +22,7 @@ src_prepare() { sed -i \ -e "s:CC=gcc:CC=$(tc-getCC)\nCFLAGS=${CFLAGS}\nLDFLAGS=${LDFLAGS}:g" \ -e "s:-o zerofree:\$(CFLAGS) \$(LDFLAGS) -o zerofree:g" \ + -e "/-lext2fs/{ s:-lext2fs::g; s:$: -lext2fs:g; }" \ Makefile || die "Failed to sed the Makefile" } |