summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-08-13 21:31:17 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-08-13 21:31:17 +0000
commit59fae9f1946cfc398a33d0228adc8d4a1ea13201 (patch)
tree57c3023720a5b5a1ccd12c92aaf36123befcffce /media-sound/vdramgw
parentLikely the final release candidate for the 2.4 release; now GTK+3 compatible.... (diff)
downloadgentoo-2-59fae9f1946cfc398a33d0228adc8d4a1ea13201.tar.gz
gentoo-2-59fae9f1946cfc398a33d0228adc8d4a1ea13201.tar.bz2
gentoo-2-59fae9f1946cfc398a33d0228adc8d4a1ea13201.zip
Respect CXX,CXXFLAGS,LDFLAGS. Bug #332543. Thanks to Diego E. 'Flameeyes' Pettenò <flameeyes@gentoo.org> for reporting
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/vdramgw')
-rw-r--r--media-sound/vdramgw/ChangeLog8
-rw-r--r--media-sound/vdramgw/vdramgw-0.0.2.ebuild10
2 files changed, 13 insertions, 5 deletions
diff --git a/media-sound/vdramgw/ChangeLog b/media-sound/vdramgw/ChangeLog
index be0b062b3a85..3d57dd32898f 100644
--- a/media-sound/vdramgw/ChangeLog
+++ b/media-sound/vdramgw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/vdramgw
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.3 2009/07/30 11:03:22 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/ChangeLog,v 1.4 2010/08/13 21:31:17 hwoarang Exp $
+
+ 13 Aug 2010; Markos Chandras <hwoarang@gentoo.org> vdramgw-0.0.2.ebuild:
+ Respect CXX,CXXFLAGS,LDFLAGS. Bug #332543. Thanks to Diego E. 'Flameeyes'
+ Pettenò <flameeyes@gentoo.org> for reporting
30 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> vdramgw-0.0.2.ebuild,
+files/vdramgw-0.0.2-gcc43.patch:
diff --git a/media-sound/vdramgw/vdramgw-0.0.2.ebuild b/media-sound/vdramgw/vdramgw-0.0.2.ebuild
index fdca70bd01a6..16f7c4a83290 100644
--- a/media-sound/vdramgw/vdramgw-0.0.2.ebuild
+++ b/media-sound/vdramgw/vdramgw-0.0.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.4 2009/07/30 11:03:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vdramgw/vdramgw-0.0.2.ebuild,v 1.5 2010/08/13 21:31:17 hwoarang Exp $
-inherit eutils
+inherit eutils toolchain-funcs
MY_P=vdr-amarok-${PV}
@@ -24,6 +24,10 @@ RDEPEND="media-sound/amarok"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-gcc43.patch
+ # Respect CC,CXXFLAGS, LDFLAGS
+ sed -i -e "/^CXX /s:?=.*:= $(tc-getCXX):" \
+ -e "/^CXXFLAGS/s:?=.*:= ${CFLAGS}:" \
+ -e "s:\$(CXXFLAGS):& \$(LDFLAGS) :" "${S}"/Makefile
}
src_install() {