summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-11 03:08:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-12-11 03:08:29 +0000
commita9bcf7094d3e7e984697ec8fe1ca49724197face (patch)
tree1d8461649c66751733b14bd317c88e6c0fe8fcb6 /media-video
parentUpdate metadata.xml; Quote ${D} / cosmetic. Bump version. (diff)
downloadgentoo-2-a9bcf7094d3e7e984697ec8fe1ca49724197face.tar.gz
gentoo-2-a9bcf7094d3e7e984697ec8fe1ca49724197face.tar.bz2
gentoo-2-a9bcf7094d3e7e984697ec8fe1ca49724197face.zip
Tell the configure script to sue the correct CC/BUILD_CC compiler, close bug #155515, thanks to Timothy Redaelli for reporting.
(Portage version: 2.1.2_rc3)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mplayer/ChangeLog6
-rw-r--r--media-video/mplayer/mplayer-1.0_rc1.ebuild9
2 files changed, 10 insertions, 5 deletions
diff --git a/media-video/mplayer/ChangeLog b/media-video/mplayer/ChangeLog
index fed647613f0f..5b08cc9b50b2 100644
--- a/media-video/mplayer/ChangeLog
+++ b/media-video/mplayer/ChangeLog
@@ -1,10 +1,14 @@
# ChangeLog for media-video/mplayer
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.438 2006/12/10 17:07:42 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/ChangeLog,v 1.439 2006/12/11 03:08:29 flameeyes Exp $
10 Dec 2006; Luca Barbato <lu_zero@gentoo.org> mplayer-1.0_rc1.ebuild:
Fix faac dep
+ 11 Dec 2006; Diego Pettenò <flameeyes@gentoo.org> mplayer-1.0_rc1.ebuild:
+ Tell the configure script to sue the correct CC/BUILD_CC compiler, close bug
+ #155515, thanks to Timothy Redaelli for reporting.
+
01 Dec 2006; Steve Dibb <beandog@gentoo.org> mplayer-1.0_rc1.ebuild:
Disable pvr support
diff --git a/media-video/mplayer/mplayer-1.0_rc1.ebuild b/media-video/mplayer/mplayer-1.0_rc1.ebuild
index 20c6e0fb7b70..c77c8eb8275c 100644
--- a/media-video/mplayer/mplayer-1.0_rc1.ebuild
+++ b/media-video/mplayer/mplayer-1.0_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc1.ebuild,v 1.16 2006/12/10 17:07:42 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mplayer/mplayer-1.0_rc1.ebuild,v 1.17 2006/12/11 03:08:29 flameeyes Exp $
inherit eutils flag-o-matic
@@ -280,7 +280,7 @@ src_compile() {
myconf="${myconf} $(use_enable rtc)"
myconf="${myconf} $(use_enable samba smb)"
myconf="${myconf} $(use_enable truetype freetype)"
- use v4l || myconf="${myconf} --disable-tv-v4l1"
+ use v4l || myconf="${myconf} --disable-tv-v4l1"
use v4l2 || myconf="${myconf} --disable-tv-v4l2"
use jack || myconf="${myconf} --disable-jack"
@@ -430,6 +430,7 @@ src_compile() {
fi
CFLAGS="$CFLAGS" ./configure \
+ "--cc=$(tc-getCC)" "--host-cc=$(tc-getBUILD_CC)" \
--prefix=/usr \
--confdir=/usr/share/mplayer \
--datadir=/usr/share/mplayer \
@@ -557,13 +558,13 @@ pkg_postrm() {
# Cleanup stale symlinks
if [ -L ${ROOT}/usr/share/mplayer/font -a \
- ! -e ${ROOT}/usr/share/mplayer/font ]
+ ! -e ${ROOT}/usr/share/mplayer/font ]
then
rm -f ${ROOT}/usr/share/mplayer/font
fi
if [ -L ${ROOT}/usr/share/mplayer/subfont.ttf -a \
- ! -e ${ROOT}/usr/share/mplayer/subfont.ttf ]
+ ! -e ${ROOT}/usr/share/mplayer/subfont.ttf ]
then
rm -f ${ROOT}/usr/share/mplayer/subfont.ttf
fi