summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-26 03:11:48 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-26 03:11:48 +0000
commit44145fb7def4dce021740d97077c78dae7f36f9c (patch)
treeb68cf533f2d3d5b88f1edf0fb28ec8b09987691a /sys-apps/xmbmon
parentEnable pkg-config and tweak how we install into /lib #235256 by Xake. (diff)
downloadgentoo-2-44145fb7def4dce021740d97077c78dae7f36f9c.tar.gz
gentoo-2-44145fb7def4dce021740d97077c78dae7f36f9c.tar.bz2
gentoo-2-44145fb7def4dce021740d97077c78dae7f36f9c.zip
Respect LDFLAGS/CC in build env.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'sys-apps/xmbmon')
-rw-r--r--sys-apps/xmbmon/ChangeLog7
-rw-r--r--sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild8
2 files changed, 11 insertions, 4 deletions
diff --git a/sys-apps/xmbmon/ChangeLog b/sys-apps/xmbmon/ChangeLog
index c077827a36e5..be9054df9ae7 100644
--- a/sys-apps/xmbmon/ChangeLog
+++ b/sys-apps/xmbmon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/xmbmon
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.12 2007/07/22 06:24:53 dberkholz Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.13 2008/10/26 03:11:48 vapier Exp $
+
+ 26 Oct 2008; Mike Frysinger <vapier@gentoo.org> xmbmon-2.0.5-r1.ebuild:
+ Respect LDFLAGS/CC in build env.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
xmbmon-2.0.5-r1.ebuild:
diff --git a/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild b/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild
index f88c03fc671e..18dd2fd2081d 100644
--- a/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild
+++ b/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild,v 1.4 2007/07/22 06:24:53 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.5-r1.ebuild,v 1.5 2008/10/26 03:11:48 vapier Exp $
inherit eutils
@@ -33,7 +33,11 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-loopback.patch
sed -i \
-e "/^CFLAGS=/s/-O3/${CFLAGS}/" \
+ -e '/^LDFLAGS=-s$/d' \
Makefile.in || die
+ sed -i \
+ -e '/^[[:space:]]*CC=gcc/s,.*,:;,' \
+ configure || die
}
src_compile() {