summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-10 08:50:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-10 08:50:50 +0000
commit7c768cb282b92f083f2a5d02c704a156477e8016 (patch)
treee5e92eb5b710ae47f127559d0b0555dc07afdeda /sys-apps/fbset/fbset-2.1.ebuild
parentVersion bump 0.11.0 -> 0.12.0 (diff)
downloadhistorical-7c768cb282b92f083f2a5d02c704a156477e8016.tar.gz
historical-7c768cb282b92f083f2a5d02c704a156477e8016.tar.bz2
historical-7c768cb282b92f083f2a5d02c704a156477e8016.zip
Fix parallel build properly, solves bug #421203.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/fbset/fbset-2.1.ebuild')
-rw-r--r--sys-apps/fbset/fbset-2.1.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild
index efe3e610c96b..a3d5ff2a34c2 100644
--- a/sys-apps/fbset/fbset-2.1.ebuild
+++ b/sys-apps/fbset/fbset-2.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/fbset-2.1.ebuild,v 1.34 2012/01/31 16:12:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/fbset/fbset-2.1.ebuild,v 1.35 2012/07/10 08:50:50 flameeyes Exp $
-inherit toolchain-funcs flag-o-matic
+inherit toolchain-funcs flag-o-matic eutils
DESCRIPTION="A utility to set the framebuffer videomode"
HOMEPAGE="http://users.telenet.be/geertu/Linux/fbdev/"
@@ -20,15 +20,12 @@ RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
- sed -i \
- -e "/^CC =/s:gcc:$(tc-getCC):" \
- -e "/^CC =/s:-O2:${CFLAGS}:" \
- -e 's/^modes.tab.c/modes.tab.h modes.tab.c/' \
- Makefile || die "sed Makefile failed"
+ epatch "${FILESDIR}/${P}-build.patch"
}
src_compile() {
use static && append-ldflags -static
+ tc-export CC
emake || die "emake failed"
}