diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-03-30 20:06:02 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-03-30 20:06:02 +0000 |
commit | 33ea7e11ab04913eb1767d8c5a022d7e26c3a4d5 (patch) | |
tree | bb57d9e744fdd29243de045f23feaa52ce03039f /media-gfx/povray | |
parent | Added sparc stable keyword (diff) | |
download | gentoo-2-33ea7e11ab04913eb1767d8c5a022d7e26c3a4d5.tar.gz gentoo-2-33ea7e11ab04913eb1767d8c5a022d7e26c3a4d5.tar.bz2 gentoo-2-33ea7e11ab04913eb1767d8c5a022d7e26c3a4d5.zip |
Added gcc-version check cause it doesn't compile on gcc-2.95
Diffstat (limited to 'media-gfx/povray')
-rw-r--r-- | media-gfx/povray/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/povray/povray-3.50c.ebuild | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog index 6302f77e6f41..486339088597 100644 --- a/media-gfx/povray/ChangeLog +++ b/media-gfx/povray/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for media-gfx/povray # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.18 2003/03/26 20:23:07 malverian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.19 2003/03/30 20:06:02 mholzer Exp $ *povray-3.50c (26 Mar 2003) + 30 Mar 2003; Martin Holzer <mholzer@gentoo.org> povray-3.50c.ebuild: + Added gcc-version check cause it doesn't compile on gcc-2.95 + 26 Mar 2003; Philip Walls <malverian@gentoo.org> povray-3.50c.ebuild : Version bump, fixes bug #18206 diff --git a/media-gfx/povray/povray-3.50c.ebuild b/media-gfx/povray/povray-3.50c.ebuild index 76f94b23bae1..43e59fa2ca5a 100644 --- a/media-gfx/povray/povray-3.50c.ebuild +++ b/media-gfx/povray/povray-3.50c.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.2 2003/03/26 20:30:58 malverian Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.3 2003/03/30 20:06:02 mholzer Exp $ IUSE="icc X svga" @@ -12,7 +12,7 @@ HOMEPAGE="http://www.povray.org/" SLOT="0" LICENSE="povlegal-3.5" KEYWORDS="x86 ppc alpha" - +inherit gcc DEPEND="media-libs/libpng sys-libs/zlib @@ -20,6 +20,15 @@ DEPEND="media-libs/libpng icc? ( dev-lang/icc ) svga? ( media-libs/svgalib )" +pkg_setup() { + + if [ "$(gcc-version)" != "3.2" ] + then + eerror "This build needs gcc-3.2 or later" + die + fi +} + src_compile() { econf || die |