summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-block/buffer')
-rw-r--r--sys-block/buffer/ChangeLog5
-rw-r--r--sys-block/buffer/buffer-1.19-r2.ebuild19
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
}