summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 19:59:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-28 19:59:39 +0000
commited961176bb081a60e6d41b1b2831ed2d23f9762a (patch)
tree16c8e7bc71254091cc25a500d1ebf512eff304ad /media-video/xine-ui
parentInitial import of ebuild. (diff)
downloadgentoo-2-ed961176bb081a60e6d41b1b2831ed2d23f9762a.tar.gz
gentoo-2-ed961176bb081a60e6d41b1b2831ed2d23f9762a.tar.bz2
gentoo-2-ed961176bb081a60e6d41b1b2831ed2d23f9762a.zip
Add -fvisibility=hidden while using GCC 4.1.
(Portage version: 2.1_rc3)
Diffstat (limited to 'media-video/xine-ui')
-rw-r--r--media-video/xine-ui/ChangeLog6
-rw-r--r--media-video/xine-ui/xine-ui-0.99.4-r5.ebuild12
2 files changed, 12 insertions, 6 deletions
diff --git a/media-video/xine-ui/ChangeLog b/media-video/xine-ui/ChangeLog
index 6b08e438ddc5..f01eac47a6a2 100644
--- a/media-video/xine-ui/ChangeLog
+++ b/media-video/xine-ui/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/xine-ui
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.123 2006/05/25 03:02:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.124 2006/05/28 19:59:39 flameeyes Exp $
+
+ 28 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ xine-ui-0.99.4-r5.ebuild:
+ Add -fvisibility=hidden while using GCC 4.1.
25 May 2006; Diego Pettenò <flameeyes@gentoo.org>
xine-ui-0.99.4-r5.ebuild:
diff --git a/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild b/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild
index 79e43db1cbc5..db9fa58e433e 100644
--- a/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild
+++ b/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild,v 1.8 2006/05/25 03:02:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.4-r5.ebuild,v 1.9 2006/05/28 19:59:39 flameeyes Exp $
-inherit eutils autotools
+inherit eutils toolchain-funcs flag-o-matic autotools
PATCHLEVEL="10"
DESCRIPTION="Xine movie player"
@@ -56,7 +56,9 @@ src_unpack() {
src_compile() {
rm misc/xine-bugreport
- local myconf=""
+
+ [[ $(gcc-major-version)$(gcc-minor-version) -ge 41 ]] && \
+ append-flags -fvisibility=hidden
econf \
$(use_enable lirc) \
@@ -69,8 +71,8 @@ src_compile() {
$(use_with curl) \
$(use_with readline) \
$(use_with ncurses) \
- ${myconf} || die
- emake || die "Make failed!"
+ || die "econf failed"
+ emake || die "emake failed"
}
src_install() {