diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-28 19:59:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-05-28 19:59:39 +0000 |
commit | 08131e93eccc2d58b228394a03afc2c8eb6d5ae6 (patch) | |
tree | 6bf2f728a0ebdcd4291ea1c9edbbb0c94f89b9fe /media-video/xine-ui | |
parent | Initial import of ebuild. (diff) | |
download | historical-08131e93eccc2d58b228394a03afc2c8eb6d5ae6.tar.gz historical-08131e93eccc2d58b228394a03afc2c8eb6d5ae6.tar.bz2 historical-08131e93eccc2d58b228394a03afc2c8eb6d5ae6.zip |
Add -fvisibility=hidden while using GCC 4.1.
Package-Manager: portage-2.1_rc3
Diffstat (limited to 'media-video/xine-ui')
-rw-r--r-- | media-video/xine-ui/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/xine-ui/xine-ui-0.99.4-r5.ebuild | 12 |
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() { |