From 70c6d54ec8d6e8891b823d6583c7bb2bb8b08aee Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Tue, 31 Jul 2007 03:56:48 +0000 Subject: added fix for build failure on amd64 (real size mis-match) (Portage version: 2.1.3) --- sci-libs/netcdf/ChangeLog | 6 +++++- sci-libs/netcdf/netcdf-3.6.2.ebuild | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'sci-libs/netcdf') diff --git a/sci-libs/netcdf/ChangeLog b/sci-libs/netcdf/ChangeLog index 0006bfc644e9..f7a4e0097c93 100644 --- a/sci-libs/netcdf/ChangeLog +++ b/sci-libs/netcdf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-libs/netcdf # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.35 2007/04/27 09:06:49 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.36 2007/07/31 03:56:48 nerdboy Exp $ + + 31 Jul 2007; Steve Arnold netcdf-3.6.2.ebuild: + Added FFLAGS fix for build failure on amd64 (real size mis-match). AFAIK + this is a gfortran F90 thing; needs testing with other F90 compilers. 27 Apr 2007; Sébastien Fabbro netcdf-3.6.2.ebuild: Removed blocking of hdf-4, thanks to Erik Zeek . diff --git a/sci-libs/netcdf/netcdf-3.6.2.ebuild b/sci-libs/netcdf/netcdf-3.6.2.ebuild index 36b49a22ceb1..096fa9fa55b3 100644 --- a/sci-libs/netcdf/netcdf-3.6.2.ebuild +++ b/sci-libs/netcdf/netcdf-3.6.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.2 2007/04/27 09:06:49 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.2.ebuild,v 1.3 2007/07/31 03:56:48 nerdboy Exp $ inherit fortran eutils toolchain-funcs flag-o-matic @@ -49,6 +49,7 @@ src_compile() { *) myconf="${myconf} --enable-f77 --enable-f90" myconf="${myconf} FC=gfortran F90=gfortran F77=gfortran" + export F90FLAGS="-i4 ${F90FLAGS}" ;; esac else @@ -66,6 +67,7 @@ src_compile() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" find "${D}usr/$(get_libdir)" -name \*.la -exec rm -f {} \; + dodoc README RELEASE_NOTES VERSION || die "dodoc failed" # keep only pdf,txt and html docs, info were already installed if use doc; then -- cgit v1.2.3-65-gdbad