diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-10-20 17:45:38 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-10-20 17:45:38 +0000 |
commit | 0e0f9123768bb4414852707eeb3c48351c2ab325 (patch) | |
tree | ff64303a8055cbc5a1638f8c6d76f246b679a872 /app-arch | |
parent | Stable on ppc wrt bug 150540 (diff) | |
download | gentoo-2-0e0f9123768bb4414852707eeb3c48351c2ab325.tar.gz gentoo-2-0e0f9123768bb4414852707eeb3c48351c2ab325.tar.bz2 gentoo-2-0e0f9123768bb4414852707eeb3c48351c2ab325.zip |
rar-3.6.0 will now show an ewarn if the system gcc is < 3.4 because rar needs libstdc++.so.6. See bug #152098 for more details.
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/rar/ChangeLog | 6 | ||||
-rw-r--r-- | app-arch/rar/rar-3.6.0.ebuild | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/app-arch/rar/ChangeLog b/app-arch/rar/ChangeLog index 3fd59076c34e..1d168181c711 100644 --- a/app-arch/rar/ChangeLog +++ b/app-arch/rar/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-arch/rar # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.39 2006/10/07 11:44:24 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/ChangeLog,v 1.40 2006/10/20 17:45:38 betelgeuse Exp $ + + 20 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> rar-3.6.0.ebuild: + rar-3.6.0 will now show an ewarn if the system gcc is < 3.4 because rar + needs libstdc++.so.6. See bug #152098 for more details. 07 Oct 2006; Petteri Räty <betelgeuse@gentoo.org> rar-3.5.1.ebuild, rar-3.6.0.ebuild: diff --git a/app-arch/rar/rar-3.6.0.ebuild b/app-arch/rar/rar-3.6.0.ebuild index f1b9d3acc526..7103f54b1a2f 100644 --- a/app-arch/rar/rar-3.6.0.ebuild +++ b/app-arch/rar/rar-3.6.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.6.0.ebuild,v 1.2 2006/10/07 11:44:24 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rar/rar-3.6.0.ebuild,v 1.3 2006/10/20 17:45:38 betelgeuse Exp $ + +inherit toolchain-funcs DESCRIPTION="RAR compressor/uncompressor" HOMEPAGE="http://www.rarsoft.com/" @@ -31,3 +33,10 @@ src_install() { dosym /opt/rar/bin/rar /opt/bin/rar dosym /opt/rar/bin/unrar /opt/bin/unrar } + +pkg_postinst() { + if [[ $(gcc-major-version) = "3" && $(gcc-minor-version) -lt 4 ]]; then + ewarn "System gcc is too old to run $PN}." + ewarn "${PN} requires >=sys-devel/gcc-3.4 to run." + fi +} |