summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-08-22 09:11:35 +0000
committerTim Harder <radhermit@gentoo.org>2011-08-22 09:11:35 +0000
commitc5f293a94cb150b534850441914ddc48bd41176f (patch)
treeb27dc2d9c5c03c9d83141caa80d57294dadd061b /media-libs/libbluray-xine/libbluray-xine-9999.ebuild
parentversion bump. add blocker to net-mail/fastforward - bug #380201 (diff)
downloadhistorical-c5f293a94cb150b534850441914ddc48bd41176f.tar.gz
historical-c5f293a94cb150b534850441914ddc48bd41176f.tar.bz2
historical-c5f293a94cb150b534850441914ddc48bd41176f.zip
Respect user CFLAGS and CC.
Package-Manager: portage-2.2.0_alpha50/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libbluray-xine/libbluray-xine-9999.ebuild')
-rw-r--r--media-libs/libbluray-xine/libbluray-xine-9999.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-libs/libbluray-xine/libbluray-xine-9999.ebuild b/media-libs/libbluray-xine/libbluray-xine-9999.ebuild
index 0cf81305ab30..240ea820c608 100644
--- a/media-libs/libbluray-xine/libbluray-xine-9999.ebuild
+++ b/media-libs/libbluray-xine/libbluray-xine-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libbluray-xine/libbluray-xine-9999.ebuild,v 1.1 2011/08/05 22:29:25 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libbluray-xine/libbluray-xine-9999.ebuild,v 1.2 2011/08/22 09:11:35 radhermit Exp $
EAPI=4
-inherit git-2
+inherit git-2 toolchain-funcs
EGIT_REPO_URI="git://git.videolan.org/libbluray.git"
@@ -33,3 +33,8 @@ DOCS=( HOWTO )
EGIT_SOURCEDIR="${WORKDIR}/${MY_P}"
S="${WORKDIR}/${MY_P}/player_wrappers/xine"
+
+src_prepare() {
+ sed -i -e "s:-O2 ::" Makefile || die
+ tc-export CC
+}