diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-11-27 06:44:26 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-11-27 06:44:26 +0000 |
commit | 0ca9d6f6244b7f674d83551c36e189e3a22a1e13 (patch) | |
tree | 2d9bfe8de4ed1284e85553e507282e80978186bd /sys-block/buffer | |
parent | Update to EAPI 4, add debug use flag, and respect LDFLAGS (bug #337876). (diff) | |
download | gentoo-2-0ca9d6f6244b7f674d83551c36e189e3a22a1e13.tar.gz gentoo-2-0ca9d6f6244b7f674d83551c36e189e3a22a1e13.tar.bz2 gentoo-2-0ca9d6f6244b7f674d83551c36e189e3a22a1e13.zip |
Update to EAPI 4 and respect LDFLAGS (bug #335378).
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/buffer')
-rw-r--r-- | sys-block/buffer/ChangeLog | 5 | ||||
-rw-r--r-- | sys-block/buffer/buffer-1.19-r2.ebuild | 19 |
2 files changed, 13 insertions, 11 deletions
diff --git a/sys-block/buffer/ChangeLog b/sys-block/buffer/ChangeLog index 5f0566b2d7d1..e1b5c98abf05 100644 --- a/sys-block/buffer/ChangeLog +++ b/sys-block/buffer/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-block/buffer # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/ChangeLog,v 1.6 2011/01/08 11:31:36 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/ChangeLog,v 1.7 2011/11/27 06:44:26 radhermit Exp $ + + 27 Nov 2011; Tim Harder <radhermit@gentoo.org> buffer-1.19-r2.ebuild: + Update to EAPI 4 and respect LDFLAGS (bug #335378). 08 Jan 2011; Michael Weber <xmw@gentoo.org> buffer-1.19-r2.ebuild: arm/sparc stable diff --git a/sys-block/buffer/buffer-1.19-r2.ebuild b/sys-block/buffer/buffer-1.19-r2.ebuild index 1f9101bbdadd..a0627b415acb 100644 --- a/sys-block/buffer/buffer-1.19-r2.ebuild +++ b/sys-block/buffer/buffer-1.19-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/buffer-1.19-r2.ebuild,v 1.5 2011/01/08 11:31:36 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/buffer/buffer-1.19-r2.ebuild,v 1.6 2011/11/27 06:44:26 radhermit Exp $ + +EAPI=4 inherit eutils flag-o-matic toolchain-funcs @@ -13,22 +15,19 @@ SLOT="0" KEYWORDS="amd64 arm ppc sparc x86" IUSE="" -DEPEND="" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-deb-gentoo.patch - make clean || die "make clean failed" +src_prepare() { + epatch "${FILESDIR}"/${PV}-deb-gentoo.patch + sed -i -e 's/$(CFLAGS)/\0 $(LDFLAGS)/' Makefile || die + emake clean } src_compile() { append-lfs-flags - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "make failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" } src_install() { - dobin buffer || die + dobin buffer dodoc README newman buffer.man buffer.1 } |