diff options
author | 2009-08-12 14:10:16 +0000 | |
---|---|---|
committer | 2009-08-12 14:10:16 +0000 | |
commit | 81270964a0dd507869f4815e56486bccd8d98b44 (patch) | |
tree | 32adb8534089ab5fb2a948f50d28a703fbd69987 /sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-81270964a0dd507869f4815e56486bccd8d98b44.tar.gz gentoo-2-81270964a0dd507869f4815e56486bccd8d98b44.tar.bz2 gentoo-2-81270964a0dd507869f4815e56486bccd8d98b44.zip |
Fix building with GCC 4.4+ wrt #274281. Keyword -amd64 because the code is not 64bit safe and Portage aborts on install.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild')
-rw-r--r-- | sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild b/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild index e169f8f70364..c836b7c993fa 100644 --- a/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild +++ b/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild,v 1.2 2005/11/10 19:00:48 metalgod Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild,v 1.3 2009/08/12 14:10:16 ssuominen Exp $ +EAPI=2 inherit eutils DESCRIPTION="3dimensional weather modeling software" @@ -10,24 +11,24 @@ SRC_URI="mirror://sourceforge/vis5d/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~amd64" +# amd64: Function `vis5d_get_dtx' implicitly converted to pointer at graphics.ogl.c:1355 +KEYWORDS="-amd64 x86" IUSE="" -DEPEND=">=sci-libs/netcdf-3.5.0" +RDEPEND=">=sci-libs/netcdf-3.5" +DEPEND="${RDEPEND}" -src_compile() { - ./configure \ - --host=${CHOST} \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ - --without-mixkit \ - --enable-threads || die "./configure failed" +src_prepare() { + epatch "${FILESDIR}"/${P}-round.patch +} - emake || die "emake failed" +src_configure() { + econf \ + --without-mixkit \ + --enable-threads } src_install () { - make DESTDIR="${D}" install || die "make install failed" - - dodoc README NEWS INSTALL ChangeLog PORTING AUTHORS ABOUT-NLS + emake DESTDIR="${D}" install || die "emake install failed" + dodoc README NEWS ChangeLog PORTING AUTHORS } |